Commit 630e64c4 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville

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: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0a16ec5f
...@@ -2626,7 +2626,6 @@ static struct genl_ops nl80211_ops[] = { ...@@ -2626,7 +2626,6 @@ static struct genl_ops nl80211_ops[] = {
.doit = nl80211_get_station, .doit = nl80211_get_station,
.dumpit = nl80211_dump_station, .dumpit = nl80211_dump_station,
.policy = nl80211_policy, .policy = nl80211_policy,
.flags = GENL_ADMIN_PERM,
}, },
{ {
.cmd = NL80211_CMD_SET_STATION, .cmd = NL80211_CMD_SET_STATION,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment