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:
parent
2f1ce78bf7
commit
3b038d7968
1 changed files with 1 additions and 0 deletions
|
@ -1314,6 +1314,7 @@ static void wpa_supplicant_event_disassoc(struct wpa_supplicant *wpa_s,
|
||||||
}
|
}
|
||||||
wpa_supplicant_mark_disassoc(wpa_s);
|
wpa_supplicant_mark_disassoc(wpa_s);
|
||||||
bgscan_deinit(wpa_s);
|
bgscan_deinit(wpa_s);
|
||||||
|
wpa_s->bgscan_ssid = NULL;
|
||||||
#ifdef CONFIG_SME
|
#ifdef CONFIG_SME
|
||||||
if (authenticating &&
|
if (authenticating &&
|
||||||
(wpa_s->drv_flags & WPA_DRIVER_FLAGS_SME)) {
|
(wpa_s->drv_flags & WPA_DRIVER_FLAGS_SME)) {
|
||||||
|
|
Loading…
Reference in a new issue