wifi: mac80211: use wiphy locked debugfs helpers for agg_status
authorJohannes Berg <johannes.berg@intel.com>
Fri, 24 Nov 2023 16:25:28 +0000 (17:25 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 27 Nov 2023 10:25:01 +0000 (11:25 +0100)
commit3d529cd11f2b6c1c3b8e084269152eb30fbb96f5
treefbbdccdf29cbe0dfc5bcc95f0f5ca383fcdfdffb
parentb590b9ae1efc30e52f81d95cdb2519a4c248b965
wifi: mac80211: use wiphy locked debugfs helpers for agg_status

The read is currently with RCU and the write can deadlock,
convert both for the sake of illustration.

Make mac80211 depend on cfg80211 debugfs to get the helpers,
but mac80211 debugfs without it does nothing anyway. This
also required some adjustments in ath9k.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/ath9k/Kconfig
net/mac80211/Kconfig
net/mac80211/debugfs_sta.c