aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/mac80211/tdls.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/tdls.c
parentwifi: mac80211: refactor some link setup code (diff)
downloadwireguard-linux-afe0d181905ed03c2379fcb81d423704f59f8788.tar.xz
wireguard-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/tdls.c')
-rw-r--r--net/mac80211/tdls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tdls.c b/net/mac80211/tdls.c
index 86a13ef31ef1..4fc120c64022 100644
--- a/net/mac80211/tdls.c
+++ b/net/mac80211/tdls.c
@@ -308,7 +308,7 @@ ieee80211_tdls_chandef_vht_upgrade(struct ieee80211_sub_if_data *sdata,
/* IEEE802.11ac-2013 Table E-4 */
u16 centers_80mhz[] = { 5210, 5290, 5530, 5610, 5690, 5775 };
struct cfg80211_chan_def uc = sta->tdls_chandef;
- enum nl80211_chan_width max_width = ieee80211_sta_cap_chan_bw(sta);
+ enum nl80211_chan_width max_width = ieee80211_sta_cap_chan_bw(sta, 0);
int i;
/* only support upgrading non-narrow channels up to 80Mhz */