diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-06-06 14:49:26 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-06-07 19:53:18 +0200 |
commit | 16114496d684a3df4ce09f7c6b7557a8b2922795 (patch) | |
tree | c4977178172be06152e9d7ad6ef2e751a08be150 /net/mac80211/scan.c | |
parent | a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 (diff) | |
download | linux-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.c | 2 |
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) |