aboutsummaryrefslogtreecommitdiff
path: root/net/mac80211/mesh_plink.c
diff options
context:
space:
mode:
authorGravatar Johannes Berg <johannes.berg@intel.com> 2022-05-30 23:52:41 +0200
committerGravatar Johannes Berg <johannes.berg@intel.com> 2022-06-20 12:55:32 +0200
commit40a27ea07949a022a083de28da99f8f472242e2e (patch)
tree3db5c267585b412df2248645359b9907906546e1 /net/mac80211/mesh_plink.c
parentwifi: mac80211: make some SMPS code MLD-aware (diff)
downloadlinux-40a27ea07949a022a083de28da99f8f472242e2e.tar.gz
linux-40a27ea07949a022a083de28da99f8f472242e2e.tar.bz2
linux-40a27ea07949a022a083de28da99f8f472242e2e.zip
wifi: mac80211: make ieee80211_he_cap_ie_to_sta_he_cap() MLO-aware
Add the link_id parameter and adjust the code accordingly. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh_plink.c')
-rw-r--r--net/mac80211/mesh_plink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh_plink.c b/net/mac80211/mesh_plink.c
index b64614cd314d..e24bd48bc915 100644
--- a/net/mac80211/mesh_plink.c
+++ b/net/mac80211/mesh_plink.c
@@ -447,7 +447,7 @@ static void mesh_sta_info_init(struct ieee80211_sub_if_data *sdata,
ieee80211_he_cap_ie_to_sta_he_cap(sdata, sband, elems->he_cap,
elems->he_cap_len,
elems->he_6ghz_capa,
- sta);
+ sta, 0);
if (bw != sta->sta.deflink.bandwidth)
changed |= IEEE80211_RC_BW_CHANGED;