From 19fdcf511b5f20806e306210b4a684ffe077ea1a Mon Sep 17 00:00:00 2001 From: Aditya Kumar Singh Date: Thu, 28 Mar 2024 23:46:45 +0530 Subject: [PATCH] AP MLD: Skip association link processing in ML info All links were iterated over during processing ML info in Association Request frame. However, the association link info will not be present in the ML info and hence the following debug print is observed during ML association (assoc link is 1): MLD: No link match for link_id=1 Skip processing for the association link to avoid this. Signed-off-by: Aditya Kumar Singh --- 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 f603af36d..c078a0536 100644 --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c @@ -4575,7 +4575,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) {