projects
/
openwrt
/
staging
/
ldir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3a5401
)
iwinfo: don't report associations for broadcom wds interfaces
author
Hauke Mehrtens
<hauke@hauke-m.de>
Mon, 11 Nov 2013 21:54:55 +0000
(21:54 +0000)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Mon, 11 Nov 2013 21:54:55 +0000
(21:54 +0000)
The associations list for Broadcom WDS interfaces are duplicate to those
reported by the corresponding AP interface; so there is no need to report
them again.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38746
package/network/utils/iwinfo/src/iwinfo_wl.c
patch
|
blob
|
history
diff --git
a/package/network/utils/iwinfo/src/iwinfo_wl.c
b/package/network/utils/iwinfo/src/iwinfo_wl.c
index f5f0d4be78884c65a7ec388f04ef8f54c4bda888..1adceb071c64e68366a91250f2e0f3f8e8723d01 100644
(file)
--- a/
package/network/utils/iwinfo/src/iwinfo_wl.c
+++ b/
package/network/utils/iwinfo/src/iwinfo_wl.c
@@
-55,6
+55,9
@@
static struct wl_maclist * wl_read_assoclist(const char *ifname)
struct wl_maclist *macs;
int maclen = 4 + WL_MAX_STA_COUNT * 6;
+ if (strstr(ifname, "wds"))
+ return NULL;
+
if ((macs = (struct wl_maclist *) malloc(maclen)) != NULL)
{
memset(macs, 0, maclen);