[PATCH 1] WPS ER: Fix compilation error
Masashi Honma
honma
Tue Nov 10 01:38:36 PST 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