Skip to contentSkip to conversation

nl80211: remove admin requirement from station get

PATCH New Johannes Berg 1 participant 1 message Feb 18, 2009 802.11 (including cfg80211/NL80211)

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

PATCH 1/1 nl80211: remove admin requirement from station get

There's no particular reason to not let untrusted users see this information -- it's just the stations we're talking to, packet counters for them and possibly some mesh things.

---
 net/wireless/nl80211.c |    1 -
 1 file changed, 1 deletion(-)
net/wireless/nl80211.c +0 -1
@@ -2592,7 +2592,6 @@ static struct genl_ops nl80211_ops[] = {
 		.doit = nl80211_get_station,
 		.dumpit = nl80211_dump_station,
 		.policy = nl80211_policy,
-		.flags = GENL_ADMIN_PERM,
 	},
 	{
 		.cmd = NL80211_CMD_SET_STATION,