[PATCH 15/22] hostapd: MLO: skip assoc link processing in ML info

Aditya Kumar Singh quic_adisi at quicinc.com
Thu Mar 28 11:16:45 PDT 2024


Currently during processing ML info in association request, all links are
iterated over. However, the assoc link info will not be present in the
ML info hence following print is observed during ML association (assoc link
is 1) -

MLD: No link match for link_id=1

Add changes to skip processing for the assoc link. No functionality
changes.

Signed-off-by: Aditya Kumar Singh <quic_adisi at quicinc.com>
---
 src/ap/ieee802_11.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index 9f7e9afdd177..39c63f29bba7 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -4586,7 +4586,7 @@ int hostapd_process_assoc_ml_info(struct hostapd_data *hapd,
 		struct mld_link_info *link = &sta->mld_info.links[i];
 		bool link_bss_found = false;
 
-		if (!link->valid)
+		if (!link->valid || i == sta->mld_assoc_link_id)
 			continue;
 
 		for_each_mld_link(bss, hapd) {
-- 
2.25.1




More information about the Hostap mailing list