From: Jouni Malinen Date: Sun, 11 Apr 2010 17:03:39 +0000 (+0300) Subject: wpa_supplicant AP: More thorough AP mode deinit X-Git-Tag: hostap_0_7_2~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a649c7dda6052e2a525a01a638d628bbe987692;p=thirdparty%2Fhostap.git wpa_supplicant AP: More thorough AP mode deinit --- diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c index 7023a5621..1623c8869 100644 --- a/wpa_supplicant/ap.c +++ b/wpa_supplicant/ap.c @@ -258,9 +258,11 @@ void wpa_supplicant_ap_deinit(struct wpa_supplicant *wpa_s) if (wpa_s->ap_iface == NULL) return; + wpa_s->current_ssid = NULL; hostapd_interface_deinit(wpa_s->ap_iface); hostapd_interface_free(wpa_s->ap_iface); wpa_s->ap_iface = NULL; + wpa_drv_deinit_ap(wpa_s); }