Skip to content
Commit a3ee4dc8 authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
parent 4d45145b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment