summaryrefslogtreecommitdiff
path: root/net/wireless/nl80211.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-06-06 14:49:32 +0200
committerJohannes Berg <johannes.berg@intel.com>2023-06-07 19:53:31 +0200
commitc88d7178229b7b9482ab4cc0b781aef0f20c3dfb (patch)
tree185a0590f1c06d592956e6bcd99c7f62aab560c7 /net/wireless/nl80211.c
parent4b8d43f1137cb9f6e8bb3b77251ad9429ab7ef34 (diff)
wifi: cfg80211: move sched scan stop to wiphy work
This work can now trivially be converted, it behaves identical either way. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r--net/wireless/nl80211.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index a52bd739cf84..772671b9bc42 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -19777,7 +19777,8 @@ static int nl80211_netlink_notify(struct notifier_block * nb,
list) {
if (sched_scan_req->owner_nlportid == notify->portid) {
sched_scan_req->nl_owner_dead = true;
- schedule_work(&rdev->sched_scan_stop_wk);
+ wiphy_work_queue(&rdev->wiphy,
+ &rdev->sched_scan_stop_wk);
}
}