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:
parent
c07292d5b4
commit
eb213ae836
@ -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;
|
Loading…
Reference in New Issue
Block a user