Преглед изворни кода

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>
Johannes Berg пре 16 година
родитељ
комит
630e64c487
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      net/wireless/nl80211.c

+ 0 - 1
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,