aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2022-05-30 23:34:04 +0200
committerJohannes Berg <johannes.berg@intel.com>2022-06-20 12:55:29 +0200
commit6b41f832a26e41d82b751afc4bfc3ce8034d68d0 (patch)
tree42f57d0be804c9e263f0433a4b4d3c343bf2916b /net/mac80211/cfg.c
parentwifi: mac80211: add link_id to eht.c code for MLO (diff)
downloadlinux-dev-6b41f832a26e41d82b751afc4bfc3ce8034d68d0.tar.xz
linux-dev-6b41f832a26e41d82b751afc4bfc3ce8034d68d0.zip
wifi: mac80211: HT: make ieee80211_ht_cap_ie_to_sta_ht_cap() MLO-aware
Update ieee80211_ht_cap_ie_to_sta_ht_cap() to handle per-link data. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 9780d70fcf28..d7f2eb7421c3 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1758,7 +1758,7 @@ static int sta_apply_parameters(struct ieee80211_local *local,
if (params->ht_capa)
ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband,
- params->ht_capa, sta);
+ params->ht_capa, sta, 0);
/* VHT can override some HT caps such as the A-MSDU max length */
if (params->vht_capa)