projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41fc1c5
)
wifi: mac80211: Fix permissions for valid_links debugfs entry
author
Ilan Peer
<ilan.peer@intel.com>
Sun, 11 Jun 2023 09:14:28 +0000
(12:14 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 19 Jul 2023 14:21:09 +0000
(16:21 +0200)
[ Upstream commit
4cacadc0dbd8013e6161aa8843d8e9d8ad435b47
]
The entry should be a read only one and not a write only one. Fix it.
Fixes:
3d9011029227
("wifi: mac80211: implement link switching")
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link:
https://lore.kernel.org/r/20230611121219.c75316990411.I1565a7fcba8a37f83efffb0cc6b71c572b896e94@changeid
[remove x16 change since it doesn't work yet]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/debugfs_netdev.c
patch
|
blob
|
history
diff --git
a/net/mac80211/debugfs_netdev.c
b/net/mac80211/debugfs_netdev.c
index
5b01478
..
08a1d75
100644
(file)
--- a/
net/mac80211/debugfs_netdev.c
+++ b/
net/mac80211/debugfs_netdev.c
@@
-694,7
+694,7
@@
static void add_sta_files(struct ieee80211_sub_if_data *sdata)
DEBUGFS_ADD_MODE(uapsd_queues, 0600);
DEBUGFS_ADD_MODE(uapsd_max_sp_len, 0600);
DEBUGFS_ADD_MODE(tdls_wider_bw, 0600);
- DEBUGFS_ADD_MODE(valid_links, 0
2
00);
+ DEBUGFS_ADD_MODE(valid_links, 0
4
00);
DEBUGFS_ADD_MODE(active_links, 0600);
}