From: Aditya Kumar Singh Date: Thu, 28 Mar 2024 18:16:45 +0000 (+0530) Subject: AP MLD: Skip association link processing in ML info X-Git-Tag: hostap_2_11~167 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19fdcf511b5f20806e306210b4a684ffe077ea1a;p=thirdparty%2Fhostap.git 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 --- 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) {