From: Johannes Berg Date: Wed, 18 Feb 2009 09:48:07 +0000 (+0100) Subject: nl80211: remove admin requirement from station get X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=630e64c487c0a9550f05b465216a1cd9125b52f2;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: John W. Linville --- 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[] = { .doit = nl80211_get_station, .dumpit = nl80211_dump_station, .policy = nl80211_policy, - .flags = GENL_ADMIN_PERM, }, { .cmd = NL80211_CMD_SET_STATION,