projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wpa_supplicant: fix regressions introduced by the ibss-rsn changes
[openwrt.git]
/
package
/
broadcom-wl
/
patches
/
003-compat-2.6.35.patch
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 a51cfcdf60571c06e38303eecbd779cc5bb8b2e7..89b665371d1392e5be834d496d2025ce75133367 100644
(file)
--- 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)
int i;
if (!dev)
-@@ -2098,14 +2102,2
3
@@ _wl_set_multicast_list(struct net_device
+@@ -2098,14 +2102,2
4
@@ _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 */
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
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) {
+ netdev_for_each_mc_addr(ha, dev) {
+#endif
if (i >= MAXMULTILIST) {