From: Alexander Beregalov Date: Sun, 21 Feb 2010 02:48:25 +0000 (-0800) Subject: eepro: fix netdev_mc_count conversion X-Git-Tag: MMI-PSA29.97-13-9~24841^2~114 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=06c92ee6384c33dbb6e313c66272181db70abbb0;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git eepro: fix netdev_mc_count conversion Fix commit 4cd24eaf0 (net: use netdev_mc_count and netdev_mc_empty when appropriate) Signed-off-by: Alexander Beregalov Signed-off-by: David S. Miller --- diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c index 488bc13cc7e6..5f73ab22db16 100644 --- a/drivers/net/eepro.c +++ b/drivers/net/eepro.c @@ -1288,7 +1288,7 @@ set_multicast_list(struct net_device *dev) short ioaddr = dev->base_addr; unsigned short mode; struct dev_mc_list *dmi=dev->mc_list; - int mc_count = mc_count; + int mc_count = netdev_mc_count(dev); if (dev->flags&(IFF_ALLMULTI|IFF_PROMISC) || mc_count > 63) {