summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-02-18 10:48:07 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 14:52:41 -0500
commit630e64c487c0a9550f05b465216a1cd9125b52f2 (patch)
treed95d922fb71d756c2cb3b6f93259dc0273106901
parent0a16ec5f5ed38076026960332a9ea4746dc1f3c6 (diff)
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. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--net/wireless/nl80211.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index badccf98074..245fddcc77c 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -2626,7 +2626,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,