atheros/patches-2.6.35: sync patches against 2.6.35-rc6
SVN-Revision: 22411
This commit is contained in:
parent
4f36f4051a
commit
cb8ce973f7
1 changed files with 11 additions and 0 deletions
|
@ -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 a new issue