mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
cb8ce973f7
SVN-Revision: 22411
12 lines
370 B
Diff
12 lines
370 B
Diff
--- 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;
|