diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-07-11 15:13:20 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-07-15 11:43:21 +0200 |
commit | de03f8ac5c5225a675c754c1b2b69771b77dfa84 (patch) | |
tree | 77fdb90fa163f04e7637018714d872317954a992 /net/mac80211/cfg.c | |
parent | wifi: mac80211: add multi-link element to AUTH frames (diff) | |
download | linux-de03f8ac5c5225a675c754c1b2b69771b77dfa84.tar.xz linux-de03f8ac5c5225a675c754c1b2b69771b77dfa84.zip |
wifi: mac80211: make ieee80211_check_rate_mask() link-aware
Change ieee80211_check_rate_mask() to use a link rather than
the sdata and deflink/bss_conf.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index a9f8042be36d..bdc3d74eecc1 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -2524,7 +2524,7 @@ static int ieee80211_change_bss(struct wiphy *wiphy, params->basic_rates_len, &sdata->vif.bss_conf.basic_rates); changed |= BSS_CHANGED_BASIC_RATES; - ieee80211_check_rate_mask(sdata); + ieee80211_check_rate_mask(&sdata->deflink); } if (params->ap_isolate >= 0) { |