ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
[openwrt.git] / target / linux / adm5120 / patches-2.6.38 / 906-adm5120sw-mc_count-fix.patch
1 --- a/drivers/net/adm5120sw.c
2 +++ b/drivers/net/adm5120sw.c
3 @@ -937,7 +937,7 @@ static void adm5120_if_set_multicast_lis
4 t |= (ports << CPUP_CONF_DUNP_SHIFT);
5
6 if (dev->flags & IFF_PROMISC || dev->flags & IFF_ALLMULTI ||
7 - dev->mc_count)
8 + netdev_mc_count(dev))
9 /* enable multicast packets */
10 t &= ~(ports << CPUP_CONF_DMCP_SHIFT);
11 else
This page took 0.040576 seconds and 5 git commands to generate.