[PATCH 12/17] wpa_s: ctrl_iface: don't disconnect on scan_freq update

Johannes Berg johannes at sipsolutions.net
Mon Sep 25 00:20:52 PDT 2023


From: Johannes Berg <johannes.berg at intel.com>

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 <johannes.berg at intel.com>
---
 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 b14c78f807d7..eb2d97d06f2c 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);
 
-- 
2.41.0




More information about the Hostap mailing list