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

wifi: mac80211: hold wiphy lock in netdev/link debugfs



It's no longer really needed to ensure that the debugfs
file isn't going away, debugfs handles that. So there's
no point in holding dev_base_lock or RTNL here, but we
should instead hold the wiphy lock since drivers will
be allowed to depend on that. Do that, which requires
splitting the sdata and link macros a bit.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 629ebb85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment