wifi: mac80211: debugfs: lock wiphy instead of RTNL
authorJohannes Berg <johannes.berg@intel.com>
Mon, 28 Aug 2023 11:59:29 +0000 (13:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Sep 2023 09:27:18 +0000 (11:27 +0200)
commit629ebb8532e96c3921fe8828c650ce03b697cfdd
tree6addded448f66edd874c1d794b3c11e735d9fcc3
parente3640a82e573f008e5c2058a7971873fa1d438c5
wifi: mac80211: debugfs: lock wiphy instead of RTNL

Since we no longer really use the RTNL, there's no point
in locking it here. Most drivers don't really need to
have any locks here anyway, and the rest are probably
completely broken, but it's a debugfs-only callback so
it really doesn't matter much.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/debugfs.c