wifi: mac80211: Fix permissions for valid_links debugfs entry
authorIlan Peer <ilan.peer@intel.com>
Sun, 11 Jun 2023 09:14:28 +0000 (12:14 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 14 Jun 2023 10:31:55 +0000 (12:31 +0200)
commit4cacadc0dbd8013e6161aa8843d8e9d8ad435b47
tree4bf56a0ba08b32dc0faf65491902691bb97f5cb0
parent43ea09285f523df084de7c916667bcac99076095
wifi: mac80211: Fix permissions for valid_links debugfs entry

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>
net/mac80211/debugfs_netdev.c