summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-02-28 09:55:44 +0100
committerJohannes Berg <johannes.berg@intel.com>2024-03-04 14:33:56 +0100
commit5ecd5d82b17ee2818548aeb5eb52f3a5b5cae18c (patch)
tree0ad285701c4022a9220c423a23c1aa5671e8d447 /net/mac80211/mlme.c
parentwifi: mac80211: pass link_id to channel switch ops (diff)
downloadlinux-5ecd5d82b17ee2818548aeb5eb52f3a5b5cae18c.tar.xz
linux-5ecd5d82b17ee2818548aeb5eb52f3a5b5cae18c.zip
wifi: mac80211: pass link conf to abort_channel_switch
Pass the link conf to the abort_channel_switch driver method so the driver can handle things correctly. Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com> Link: https://msgid.link/20240228095718.27f621106ddd.Iadd3d69b722ffe5934779a32a0e4e596a4e33ed4@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index d1d4480c0352..c5c757514179 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -2004,7 +2004,7 @@ ieee80211_sta_abort_chanswitch(struct ieee80211_link_data *link)
link->csa_block_tx = false;
link->conf->csa_active = false;
- drv_abort_channel_switch(sdata);
+ drv_abort_channel_switch(link);
}
static void