Fix bgscan stopping after dissassociation

Clear bgscan_ssid on disassoc event so bgscan is initialized the next
time we reach COMPLETED state.
This commit is contained in:
Sam Leffler 2010-07-10 14:43:48 -07:00 committed by Jouni Malinen
parent 2f1ce78bf7
commit 3b038d7968

View file

@ -1314,6 +1314,7 @@ static void wpa_supplicant_event_disassoc(struct wpa_supplicant *wpa_s,
}
wpa_supplicant_mark_disassoc(wpa_s);
bgscan_deinit(wpa_s);
wpa_s->bgscan_ssid = NULL;
#ifdef CONFIG_SME
if (authenticating &&
(wpa_s->drv_flags & WPA_DRIVER_FLAGS_SME)) {