diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2009-11-10 11:09:52 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2009-11-10 11:09:52 +0200 |
commit | d3a42e1240e014655e233a9e50b9af480f13c7e8 (patch) | |
tree | b1e154e8c7677f94bc825de46999871032ed4122 /wpa_supplicant | |
parent | 6ae225726f7aa1b1c293622fd43eed24873762d8 (diff) | |
download | external_wpa_supplicant_8_ti-d3a42e1240e014655e233a9e50b9af480f13c7e8.zip external_wpa_supplicant_8_ti-d3a42e1240e014655e233a9e50b9af480f13c7e8.tar.gz external_wpa_supplicant_8_ti-d3a42e1240e014655e233a9e50b9af480f13c7e8.tar.bz2 |
WPS: Fix WPS build with ER support disabled
Diffstat (limited to 'wpa_supplicant')
-rw-r--r-- | wpa_supplicant/wps_supplicant.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/wps_supplicant.c b/wpa_supplicant/wps_supplicant.c index 5fd94e2..d903128 100644 --- a/wpa_supplicant/wps_supplicant.c +++ b/wpa_supplicant/wps_supplicant.c @@ -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 */ } |