summaryrefslogtreecommitdiffstats
path: root/net/mac80211/chan.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2022-06-24 16:18:56 +0200
committerJohannes Berg <johannes.berg@intel.com>2022-07-15 11:43:16 +0200
commit5bd5666d8ad88366789b344647529841f6dadd7f (patch)
treed1decafc46ea487d5f94d80f0d9b30677c9040f1 /net/mac80211/chan.c
parent42ed6748afa45fb3f540a5fd83595eee050c48fe (diff)
downloadlinux-5bd5666d8ad88366789b344647529841f6dadd7f.tar.gz
linux-5bd5666d8ad88366789b344647529841f6dadd7f.tar.bz2
linux-5bd5666d8ad88366789b344647529841f6dadd7f.zip
wifi: mac80211: mlme: first adjustments for MLO
Do the first adjustments in the client-side code to pass the link pointer (instead of sdata) to most places etc. This is just preparation, so the real MLO patches become smaller. Note that this isn't complete, notably there are still quite a few references to sta->deflink and sta->sta.deflink. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/chan.c')
-rw-r--r--net/mac80211/chan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/chan.c b/net/mac80211/chan.c
index 8d384956fde5..92fe40539091 100644
--- a/net/mac80211/chan.c
+++ b/net/mac80211/chan.c
@@ -1188,7 +1188,7 @@ ieee80211_link_chanctx_reservation_complete(struct ieee80211_link_data *link)
break;
case NL80211_IFTYPE_STATION:
ieee80211_queue_work(&sdata->local->hw,
- &sdata->u.mgd.chswitch_work);
+ &link->u.mgd.chswitch_work);
break;
case NL80211_IFTYPE_UNSPECIFIED:
case NL80211_IFTYPE_AP_VLAN: