[PATCH 1/3] MLD: Pass SSID when doing multi-link probe check

Benjamin Berg benjamin at sipsolutions.net
Mon Jan 26 07:16:48 PST 2026


From: Benjamin Berg <benjamin.berg at intel.com>

If the SSID is not passed, then the function will resolve hidden ML
neighbors even when the SSID is not yet known. Should this happen, then
we will later fail to find the link and it will not be used.

Signed-off-by: Benjamin Berg <benjamin.berg at intel.com>
Reviewed-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
 wpa_supplicant/events.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 4ad6c5138d..a8feadc514 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -1897,7 +1897,7 @@ static int wpa_supplicant_connect_ml_missing(struct wpa_supplicant *wpa_s,
 	      (wpa_s->drv_flags & WPA_DRIVER_FLAGS_SME)))
 		return 0;
 
-	usable_links = wpa_bss_get_usable_links(wpa_s, selected, NULL,
+	usable_links = wpa_bss_get_usable_links(wpa_s, selected, ssid,
 						&missing_links);
 	if (!usable_links || !missing_links)
 		return 0;
-- 
2.52.0




More information about the Hostap mailing list