summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-29 14:13:51 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-29 14:13:51 +0000
commiteb213ae83623c132b64214715ce82ec3b911009a (patch)
tree7cfa2cfda45570eb75cbf70cd5e857811db00c12
parentc07292d5b49641db405090d90f358d21df973849 (diff)
atheros/patches-2.6.35: sync patches against 2.6.35-rc6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22411 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/atheros/patches-2.6.35/111-ar231x-mc_count.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/atheros/patches-2.6.35/111-ar231x-mc_count.patch b/target/linux/atheros/patches-2.6.35/111-ar231x-mc_count.patch
new file mode 100644
index 000000000..b9c3e07a5
--- /dev/null
+++ b/target/linux/atheros/patches-2.6.35/111-ar231x-mc_count.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/ar231x.c
++++ b/drivers/net/ar231x.c
+@@ -321,7 +321,7 @@ static void ar231x_multicast_list(struct
+ filter |= MAC_CONTROL_PR;
+ else
+ filter &= ~MAC_CONTROL_PR;
+- if ((dev->flags & IFF_ALLMULTI) || (dev->mc_count > 0))
++ if ((dev->flags & IFF_ALLMULTI) || (netdev_mc_count(dev) > 0))
+ filter |= MAC_CONTROL_PM;
+ else
+ filter &= ~MAC_CONTROL_PM;