nl80211: remove admin requirement from station get
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 18 Feb 2009 09:48:07 +0000 (10:48 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:52:41 +0000 (14:52 -0500)
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>
net/wireless/nl80211.c

index badccf98074e5e2079d1207e5f3ba62ba2319098..245fddcc77c31438aa5788e142c4cc3a71df51ab 100644 (file)
@@ -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,