On 11/02/2013 10:36 PM, Nathan Hintz wrote:
> 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 <[email protected]>
> ---
>  package/network/utils/iwinfo/src/iwinfo_wl.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> 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);
> 
Thank you for the patch.

This patch and "iwinfo: fix hwmodelist reporting for broadcom wl" are
committed in r38744 and r38745.

Hauke
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to