projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f075b2
)
iwinfo: allow scans in AP mode on nl80211
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 6 Aug 2014 17:07:35 +0000
(17:07 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 6 Aug 2014 17:07:35 +0000
(17:07 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42014
SVN-Revision: 42015
package/network/utils/iwinfo/src/iwinfo_nl80211.c
patch
|
blob
|
history
diff --git
a/package/network/utils/iwinfo/src/iwinfo_nl80211.c
b/package/network/utils/iwinfo/src/iwinfo_nl80211.c
index b0dc67a70f6b5e4343e7821b06fd7170fde2f493..98200bfef7d1ae4e53d1973dfead744bb2594e35 100644
(file)
--- a/
package/network/utils/iwinfo/src/iwinfo_nl80211.c
+++ b/
package/network/utils/iwinfo/src/iwinfo_nl80211.c
@@
-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))