From 2249b9f776eca302e38af40c85f0f828327a1a91 Mon Sep 17 00:00:00 2001 From: Ilan Peer Date: Thu, 21 Dec 2023 13:08:21 +0200 Subject: [PATCH] nl80211: Include disabled links indication in association command Signed-off-by: Ilan Peer --- src/drivers/driver_nl80211.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 460cf9235..21146778a 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -6695,6 +6695,9 @@ static int nl80211_connect_common(struct wpa_driver_nl80211_data *drv, mld_params->mld_links[link_id].bssid) || nla_put_u32(msg, NL80211_ATTR_WIPHY_FREQ, mld_params->mld_links[link_id].freq) || + (mld_params->mld_links[i].disabled && + nla_put_flag(msg, + NL80211_ATTR_MLO_LINK_DISABLED)) || (mld_params->mld_links[link_id].ies && mld_params->mld_links[i].ies_len && nla_put(msg, NL80211_ATTR_IE,