diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-11-11 21:54:55 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-11-11 21:54:55 +0000 |
commit | 20d64e929f6020655eb8123fc3bdf04e563d11da (patch) | |
tree | 98a75ea1fc9563979ce13277f8b114d6ddfaf6e0 /package | |
parent | e3a5401fb20a17ea3749dedac2219e8f0ca44a4b (diff) | |
download | mtk-20170518-20d64e929f6020655eb8123fc3bdf04e563d11da.zip mtk-20170518-20d64e929f6020655eb8123fc3bdf04e563d11da.tar.gz mtk-20170518-20d64e929f6020655eb8123fc3bdf04e563d11da.tar.bz2 |
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>
SVN-Revision: 38746
Diffstat (limited to 'package')
-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 f5f0d4b..1adceb0 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); |