From b99bb32f557f90192dc38fb6ca3e11f023ed6f34 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Mon, 25 Sep 2023 09:20:52 +0200 Subject: [PATCH] Don't disconnect on scan_freq update from control interface It doesn't make sense to disconnect on updates to the network's scan_freq, and in fact doing so causes some (timing-/scheduling-dependent) test failures. Signed-off-by: Johannes Berg --- wpa_supplicant/ctrl_iface.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index b14c78f80..eb2d97d06 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -3609,6 +3609,7 @@ static int wpa_supplicant_ctrl_iface_update_network( if (os_strcmp(name, "bssid") != 0 && os_strcmp(name, "bssid_hint") != 0 && + os_strcmp(name, "scan_freq") != 0 && os_strcmp(name, "priority") != 0) { wpa_sm_pmksa_cache_flush(wpa_s->wpa, ssid);