diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2010-02-20 18:48:25 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-20 18:48:25 -0800 |
commit | 06c92ee6384c33dbb6e313c66272181db70abbb0 (patch) | |
tree | ffab633a61ce4b6a80fc25f66c4a471e4e63ba82 /drivers/net | |
parent | f66d744d23dcb7ef659612595e2c9fb2fde4e009 (diff) | |
download | op-kernel-dev-06c92ee6384c33dbb6e313c66272181db70abbb0.zip op-kernel-dev-06c92ee6384c33dbb6e313c66272181db70abbb0.tar.gz |
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 <a.beregalov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/eepro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c index 488bc13..5f73ab2 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) { |