diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index ef62d70c8..ba3078057 100644 --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c @@ -3959,6 +3959,7 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event, wpa_s, WLAN_REASON_DEAUTH_LEAVING, 1); } wpa_supplicant_mark_disassoc(wpa_s); + wpa_bss_flush(wpa_s); radio_remove_works(wpa_s, NULL, 0); wpa_supplicant_set_state(wpa_s, WPA_INTERFACE_DISABLED);