b9c3e07a5bbb7bae82344e3988ae7e7bde69ddcc
[openwrt.git] / target / linux / atheros / patches-2.6.35 / 111-ar231x-mc_count.patch
1 --- a/drivers/net/ar231x.c
2 +++ b/drivers/net/ar231x.c
3 @@ -321,7 +321,7 @@ static void ar231x_multicast_list(struct
4 filter |= MAC_CONTROL_PR;
5 else
6 filter &= ~MAC_CONTROL_PR;
7 - if ((dev->flags & IFF_ALLMULTI) || (dev->mc_count > 0))
8 + if ((dev->flags & IFF_ALLMULTI) || (netdev_mc_count(dev) > 0))
9 filter |= MAC_CONTROL_PM;
10 else
11 filter &= ~MAC_CONTROL_PM;
This page took 0.039748 seconds and 3 git commands to generate.