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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jul 2023 14:21:09 +0000 (16:21 +0200)
commitc682018f5c925c9639e0ae7dcc0a47f5cb531b80
treeec14d79db802b352c47a544b06158d4d068ad0b6
parent41fc1c56787fbb213f4292b43356fa2cbfafc6c5
wifi: mac80211: Fix permissions for valid_links debugfs entry

[ 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