summaryrefslogtreecommitdiffstats
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-06-06 14:49:25 +0200
committerJohannes Berg <johannes.berg@intel.com>2023-06-07 19:53:15 +0200
commita3ee4dc84c4e9d14cb34dad095fd678127aca5b6 (patch)
treecf1d940f044dc42d34036dc61c05fcc1d7aa0505 /net/mac80211/util.c
parentwifi: cfg80211: hold wiphy lock when sending wiphy (diff)
downloadlinux-a3ee4dc84c4e9d14cb34dad095fd678127aca5b6.tar.xz
linux-a3ee4dc84c4e9d14cb34dad095fd678127aca5b6.zip
wifi: cfg80211: add a work abstraction with special semantics
Add a work abstraction at the cfg80211 level that will always hold the wiphy_lock() for any work executed and therefore also can be canceled safely (without waiting) while holding that. This improves on what we do now as with the new wiphy works we don't have to worry about locking while cancelling them safely. Also, don't let such works run while the device is suspended, since they'll likely need to interact with the device. Flush them before suspend though. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/util.c')
0 files changed, 0 insertions, 0 deletions