summaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.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/cfg.c
parent4b41b2ef9e0d044528062eddbf34589da95c01bc (diff)
downloadlinux-afe0d181905ed03c2379fcb81d423704f59f8788.tar.bz2
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/cfg.c')
-rw-r--r--net/mac80211/cfg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 884d2cfcec1e..53aac8f277e1 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1763,7 +1763,7 @@ static int sta_apply_parameters(struct ieee80211_local *local,
/* VHT can override some HT caps such as the A-MSDU max length */
if (params->vht_capa)
ieee80211_vht_cap_ie_to_sta_vht_cap(sdata, sband,
- params->vht_capa, sta);
+ params->vht_capa, sta, 0);
if (params->he_capa)
ieee80211_he_cap_ie_to_sta_he_cap(sdata, sband,
@@ -1784,7 +1784,8 @@ static int sta_apply_parameters(struct ieee80211_local *local,
/* returned value is only needed for rc update, but the
* rc isn't initialized here yet, so ignore it
*/
- __ieee80211_vht_handle_opmode(sdata, sta, params->opmode_notif,
+ __ieee80211_vht_handle_opmode(sdata, sta, 0,
+ params->opmode_notif,
sband->band);
}