developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 1 | From 6eeca68d65795783243d3634627b4ac8f79e3d15 Mon Sep 17 00:00:00 2001 |
| 2 | From: Aditya Kumar Singh <quic_adisi@quicinc.com> |
| 3 | Date: Thu, 28 Mar 2024 23:46:45 +0530 |
| 4 | Subject: [PATCH 015/104] hostapd: MLO: skip assoc link processing in ML info |
| 5 | |
| 6 | Currently during processing ML info in association request, all links are |
| 7 | iterated over. However, the assoc link info will not be present in the |
| 8 | ML info hence following print is observed during ML association (assoc link |
| 9 | is 1) - |
| 10 | |
| 11 | MLD: No link match for link_id=1 |
| 12 | |
| 13 | Add changes to skip processing for the assoc link. No functionality |
| 14 | changes. |
| 15 | |
| 16 | Signed-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 | |
| 21 | diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c |
| 22 | index 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 | -- |
| 35 | 2.39.2 |
| 36 | |