aboutsummaryrefslogtreecommitdiff
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorGravatar Johannes Berg <johannes.berg@intel.com> 2022-05-30 23:22:19 +0200
committerGravatar Johannes Berg <johannes.berg@intel.com> 2022-06-20 12:55:25 +0200
commitafe0d181905ed03c2379fcb81d423704f59f8788 (patch)
tree0586446a501900c07c8023e816b1de543c18478d /net/mac80211/rx.c
parentwifi: mac80211: refactor some link setup code (diff)
downloadlinux-afe0d181905ed03c2379fcb81d423704f59f8788.tar.gz
linux-afe0d181905ed03c2379fcb81d423704f59f8788.tar.bz2
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/rx.c')
-rw-r--r--net/mac80211/rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 1774d0f9feaa..e6b16ebbdb48 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -3403,7 +3403,7 @@ ieee80211_rx_h_action(struct ieee80211_rx_data *rx)
rx->sta->sta.deflink.bandwidth = new_bw;
sband = rx->local->hw.wiphy->bands[status->band];
sta_opmode.bw =
- ieee80211_sta_rx_bw_to_chan_width(rx->sta);
+ ieee80211_sta_rx_bw_to_chan_width(rx->sta, 0);
sta_opmode.changed = STA_OPMODE_MAX_BW_CHANGED;
rate_control_rate_update(local, sband, rx->sta, 0,