+2
−4
+3
−1
Loading
Most code paths in cfg80211 already hold the wiphy lock,
mostly by virtue of being called from nl80211, so make
the auto-disconnect worker also hold it, aligning the
locking promises between different parts of cfg80211.
Signed-off-by:
Johannes Berg <johannes.berg@intel.com>