diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-11-11 21:54:55 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-11-11 21:54:55 +0000 |
commit | 9dd1ff803ffc935cacdbc57517f42fb6576e806d (patch) | |
tree | 537de54ba2084b2098d1b398496e47bd9e06f16b /package/network | |
parent | 254d8e67c7b46a9f23bead2d2a9fde227b5ce070 (diff) | |
download | master-187ad058-9dd1ff803ffc935cacdbc57517f42fb6576e806d.tar.gz master-187ad058-9dd1ff803ffc935cacdbc57517f42fb6576e806d.tar.bz2 master-187ad058-9dd1ff803ffc935cacdbc57517f42fb6576e806d.zip |
iwinfo: don't report associations for broadcom wds interfaces
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38746 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network')
-rw-r--r-- | package/network/utils/iwinfo/src/iwinfo_wl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/network/utils/iwinfo/src/iwinfo_wl.c b/package/network/utils/iwinfo/src/iwinfo_wl.c index f5f0d4be78..1adceb071c 100644 --- 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); |