mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -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);
|
os_free(wpa_s->wps);
|
||||||
wpa_s->wps = NULL;
|
wpa_s->wps = NULL;
|
||||||
|
|
||||||
|
#ifdef CONFIG_WPS_ER
|
||||||
wps_er_deinit(wpa_s->wps_er);
|
wps_er_deinit(wpa_s->wps_er);
|
||||||
wpa_s->wps_er = NULL;
|
wpa_s->wps_er = NULL;
|
||||||
|
#endif /* CONFIG_WPS_ER */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user