summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rate.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2022-05-30 23:22:19 +0200
committerJohannes Berg <johannes.berg@intel.com>2022-06-20 12:55:25 +0200
commitafe0d181905ed03c2379fcb81d423704f59f8788 (patch)
tree0586446a501900c07c8023e816b1de543c18478d /net/mac80211/rate.c
parentwifi: mac80211: refactor some link setup code (diff)
downloadlinux-afe0d181905ed03c2379fcb81d423704f59f8788.tar.xz
linux-afe0d181905ed03c2379fcb81d423704f59f8788.zip
wifi: mac80211: add link_id to vht.c code for MLO
Update the code in vht.c and add the link_id parameter where necessary. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rate.c')
-rw-r--r--net/mac80211/rate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rate.c b/net/mac80211/rate.c
index b268088585eb..402e898b75c3 100644
--- a/net/mac80211/rate.c
+++ b/net/mac80211/rate.c
@@ -37,7 +37,7 @@ void rate_control_rate_init(struct sta_info *sta)
struct ieee80211_supported_band *sband;
struct ieee80211_chanctx_conf *chanctx_conf;
- ieee80211_sta_set_rx_nss(sta);
+ ieee80211_sta_set_rx_nss(sta, 0);
if (!ref)
return;