diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-06-06 14:49:25 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-06-07 19:53:15 +0200 |
commit | a3ee4dc84c4e9d14cb34dad095fd678127aca5b6 (patch) | |
tree | cf1d940f044dc42d34036dc61c05fcc1d7aa0505 /net/mac80211/rx.c | |
parent | wifi: cfg80211: hold wiphy lock when sending wiphy (diff) | |
download | linux-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/rx.c')
0 files changed, 0 insertions, 0 deletions