mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
WPS: Fix WPS build with ER support disabled
This commit is contained in:
parent
6ae225726f
commit
d3a42e1240
@ -815,8 +815,10 @@ void wpas_wps_deinit(struct wpa_supplicant *wpa_s)
|
||||
os_free(wpa_s->wps);
|
||||
wpa_s->wps = NULL;
|
||||
|
||||
#ifdef CONFIG_WPS_ER
|
||||
wps_er_deinit(wpa_s->wps_er);
|
||||
wpa_s->wps_er = NULL;
|
||||
#endif /* CONFIG_WPS_ER */
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user