mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-16 20:04:36 +00:00
iwinfo: allow scans in AP mode on nl80211
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42014
This commit is contained in:
parent
960b7643c9
commit
b465cf412f
@ -1997,6 +1997,7 @@ static int nl80211_get_scanlist(const char *ifname, char *buf, int *len)
|
||||
/* station / ad-hoc / monitor scan */
|
||||
else if (!nl80211_get_mode(ifname, &mode) &&
|
||||
(mode == IWINFO_OPMODE_ADHOC ||
|
||||
mode == IWINFO_OPMODE_MASTER ||
|
||||
mode == IWINFO_OPMODE_CLIENT ||
|
||||
mode == IWINFO_OPMODE_MONITOR) &&
|
||||
iwinfo_ifup(ifname))
|
||||
|
Loading…
Reference in New Issue
Block a user