summaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs_netdev.c
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin.berg@intel.com>2023-03-01 11:09:26 +0100
committerJohannes Berg <johannes.berg@intel.com>2023-03-07 10:55:56 +0100
commit586100ad85fed0041e203d6006d45e0ec4c5a0b4 (patch)
tree2fd9c0f84fd4ac5a0a34b8917ec04259d11726ec /net/mac80211/debugfs_netdev.c
parentwifi: mac80211: add pointer from bss_conf to vif (diff)
downloadlinux-586100ad85fed0041e203d6006d45e0ec4c5a0b4.tar.xz
linux-586100ad85fed0041e203d6006d45e0ec4c5a0b4.zip
wifi: mac80211: remove SMPS from AP debugfs
The spatial multiplexing power save feature does not apply to AP mode. Remove it from debugfs in this case. Signed-off-by: Benjamin Berg <benjamin.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230301115906.01b167027dd5.Iee69f2e4df98581f259ef2c76309b940b20174be@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/debugfs_netdev.c')
-rw-r--r--net/mac80211/debugfs_netdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/debugfs_netdev.c b/net/mac80211/debugfs_netdev.c
index 0bac9af3ca96..187bb22c0bbd 100644
--- a/net/mac80211/debugfs_netdev.c
+++ b/net/mac80211/debugfs_netdev.c
@@ -698,7 +698,6 @@ static void add_sta_files(struct ieee80211_sub_if_data *sdata)
static void add_ap_files(struct ieee80211_sub_if_data *sdata)
{
DEBUGFS_ADD(num_mcast_sta);
- DEBUGFS_ADD_MODE(smps, 0600);
DEBUGFS_ADD(num_sta_ps);
DEBUGFS_ADD(dtim_count);
DEBUGFS_ADD(num_buffered_multicast);