X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=package%2Fbroadcom-wl%2Fpatches%2F003-compat-2.6.35.patch;h=89b665371d1392e5be834d496d2025ce75133367;hb=6f5aac5856eafca6766fe098aeeeca4419661fd5;hp=a51cfcdf60571c06e38303eecbd779cc5bb8b2e7;hpb=374bb82f67f49829cb443fe95a11d88c83675be4;p=openwrt.git diff --git a/package/broadcom-wl/patches/003-compat-2.6.35.patch b/package/broadcom-wl/patches/003-compat-2.6.35.patch index a51cfcdf60..89b665371d 100644 --- a/package/broadcom-wl/patches/003-compat-2.6.35.patch +++ b/package/broadcom-wl/patches/003-compat-2.6.35.patch @@ -12,7 +12,7 @@ int i; if (!dev) -@@ -2098,14 +2102,23 @@ _wl_set_multicast_list(struct net_device +@@ -2098,14 +2102,24 @@ _wl_set_multicast_list(struct net_device wl->pub->allmulti = (dev->flags & IFF_ALLMULTI)? TRUE: FALSE; /* copy the list of multicasts into our private table */ @@ -20,6 +20,7 @@ for (i = 0, mclist = dev->mc_list; mclist && (i < dev->mc_count); i++, mclist = mclist->next) { +#else ++ i = 0; + netdev_for_each_mc_addr(ha, dev) { +#endif if (i >= MAXMULTILIST) {