blob: 3dd5690b069debd101f83e620cb5ed3f14f6e71f [file] [log] [blame]
developer66e89bc2024-04-23 14:50:01 +08001From 6eeca68d65795783243d3634627b4ac8f79e3d15 Mon Sep 17 00:00:00 2001
2From: Aditya Kumar Singh <quic_adisi@quicinc.com>
3Date: Thu, 28 Mar 2024 23:46:45 +0530
4Subject: [PATCH 015/104] hostapd: MLO: skip assoc link processing in ML info
5
6Currently during processing ML info in association request, all links are
7iterated over. However, the assoc link info will not be present in the
8ML info hence following print is observed during ML association (assoc link
9is 1) -
10
11MLD: No link match for link_id=1
12
13Add changes to skip processing for the assoc link. No functionality
14changes.
15
16Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
17---
18 src/ap/ieee802_11.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
22index 9f7e9afdd..39c63f29b 100644
23--- a/src/ap/ieee802_11.c
24+++ b/src/ap/ieee802_11.c
25@@ -4586,7 +4586,7 @@ int hostapd_process_assoc_ml_info(struct hostapd_data *hapd,
26 struct mld_link_info *link = &sta->mld_info.links[i];
27 bool link_bss_found = false;
28
29- if (!link->valid)
30+ if (!link->valid || i == sta->mld_assoc_link_id)
31 continue;
32
33 for_each_mld_link(bss, hapd) {
34--
352.39.2
36