[PATCH 1] WPS ER: Fix compilation error

Masashi Honma honma at ictec.co.jp
Tue Nov 10 04:38:36 EST 2009


Hello.

The wpa_supplicant compilation failed without CONFIG_WPS_ER=y.

This patch solves this issue.

diff --git a/wpa_supplicant/wps_supplicant.c b/wpa_supplicant/wps_supplicant.c
index 5fd94e2..9356482 100644
--- a/wpa_supplicant/wps_supplicant.c
+++ b/wpa_supplicant/wps_supplicant.c
@@ -814,9 +814,7 @@ void wpas_wps_deinit(struct wpa_supplicant *wpa_s)
 	os_free(wpa_s->wps->network_key);
 	os_free(wpa_s->wps);
 	wpa_s->wps = NULL;
-
-	wps_er_deinit(wpa_s->wps_er);
-	wpa_s->wps_er = NULL;
+	wpas_wps_er_stop(wpa_s);
 }
 
 
Regards,
Masashi Honma.



More information about the HostAP mailing list