atheros/patches-2.6.35: sync patches against 2.6.35-rc6
authorAlexandros C. Couloumbis <alex@ozo.com>
Thu, 29 Jul 2010 14:13:51 +0000 (14:13 +0000)
committerAlexandros C. Couloumbis <alex@ozo.com>
Thu, 29 Jul 2010 14:13:51 +0000 (14:13 +0000)
SVN-Revision: 22411

target/linux/atheros/patches-2.6.35/111-ar231x-mc_count.patch [new file with mode: 0644]

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 (file)
index 0000000..b9c3e07
--- /dev/null
@@ -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;