summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/network/utils/iwinfo/src/iwinfo_wl.c3
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);