aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-02-18 04:48:07 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 14:52:41 -0500
commit630e64c487c0a9550f05b465216a1cd9125b52f2 (patch)
treed95d922fb71d756c2cb3b6f93259dc0273106901 /net/wireless
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>
Diffstat (limited to 'net/wireless')
-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 badccf98074e..245fddcc77c3 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -2626,7 +2626,6 @@ static struct genl_ops nl80211_ops[] = {
2626 .doit = nl80211_get_station, 2626 .doit = nl80211_get_station,
2627 .dumpit = nl80211_dump_station, 2627 .dumpit = nl80211_dump_station,
2628 .policy = nl80211_policy, 2628 .policy = nl80211_policy,
2629 .flags = GENL_ADMIN_PERM,
2630 }, 2629 },
2631 { 2630 {
2632 .cmd = NL80211_CMD_SET_STATION, 2631 .cmd = NL80211_CMD_SET_STATION,