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>
This commit is contained in:
Родитель
0a16ec5f5e
Коммит
630e64c487
|
@ -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,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче