diff --git a/wpa_supplicant/notify.c b/wpa_supplicant/notify.c index 6d5dbcc29..e967dc8ff 100644 --- a/wpa_supplicant/notify.c +++ b/wpa_supplicant/notify.c @@ -400,6 +400,8 @@ void wpas_notify_network_removed(struct wpa_supplicant *wpa_s, wpa_s->ml_connect_probe_ssid = NULL; wpa_s->ml_connect_probe_bss = NULL; } + if (wpa_s->connect_without_scan == ssid) + wpa_s->connect_without_scan = NULL; #if defined(CONFIG_SME) && defined(CONFIG_SAE) if (wpa_s->sme.ext_auth_wpa_ssid == ssid) wpa_s->sme.ext_auth_wpa_ssid = NULL;