wifi: mac80211: use wiphy locked debugfs for sdata/link
authorJohannes Berg <johannes.berg@intel.com>
Fri, 24 Nov 2023 16:25:29 +0000 (17:25 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 27 Nov 2023 10:25:09 +0000 (11:25 +0100)
commit4ded3bfe1db655367642aadba91aee770cbab317
treece453da8c0adea38efd99ac21814ca11b7bc9bb1
parent3d529cd11f2b6c1c3b8e084269152eb30fbb96f5
wifi: mac80211: use wiphy locked debugfs for sdata/link

The debugfs files for netdevs (sdata) and links are removed
with the wiphy mutex held, which may deadlock. Use the new
wiphy locked debugfs to avoid that.

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