From: Johannes Berg Date: Wed, 18 Feb 2009 09:48:07 +0000 (+0100) Subject: nl80211: remove admin requirement from station get X-Git-Tag: v2.6.30-rc1~662^2~460^2~81 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=630e64c487c0a9550f05b465216a1cd9125b52f2;p=~shefty%2Frdma-dev.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 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,