1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 11:29:32 +02:00

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
This commit is contained in:
acoul 2010-07-29 14:13:51 +00:00
parent c07292d5b4
commit eb213ae836

View File

@ -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;