summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-02-18 09:48:07 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 19:52:41 (GMT)
commit630e64c487c0a9550f05b465216a1cd9125b52f2 (patch)
treed95d922fb71d756c2cb3b6f93259dc0273106901 /net
parent0a16ec5f5ed38076026960332a9ea4746dc1f3c6 (diff)
downloadlinux-630e64c487c0a9550f05b465216a1cd9125b52f2.tar.xz
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')
-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 badccf9..245fddc 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,