summaryrefslogtreecommitdiffstats
path: root/net/mac80211/scan.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-06-06 14:49:26 +0200
committerJohannes Berg <johannes.berg@intel.com>2023-06-07 19:53:18 +0200
commit16114496d684a3df4ce09f7c6b7557a8b2922795 (patch)
treec4977178172be06152e9d7ad6ef2e751a08be150 /net/mac80211/scan.c
parenta3ee4dc84c4e9d14cb34dad095fd678127aca5b6 (diff)
downloadlinux-16114496d684a3df4ce09f7c6b7557a8b2922795.tar.gz
linux-16114496d684a3df4ce09f7c6b7557a8b2922795.tar.bz2
linux-16114496d684a3df4ce09f7c6b7557a8b2922795.zip
wifi: mac80211: use wiphy work for sdata->work
We'll need this later to convert other works that might be cancelled from here, so convert this one first. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/scan.c')
-rw-r--r--net/mac80211/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c
index 32fa8aca7005..ea5383136fff 100644
--- a/net/mac80211/scan.c
+++ b/net/mac80211/scan.c
@@ -502,7 +502,7 @@ static void __ieee80211_scan_completed(struct ieee80211_hw *hw, bool aborted)
*/
list_for_each_entry_rcu(sdata, &local->interfaces, list) {
if (ieee80211_sdata_running(sdata))
- ieee80211_queue_work(&sdata->local->hw, &sdata->work);
+ wiphy_work_queue(sdata->local->hw.wiphy, &sdata->work);
}
if (was_scanning)