Skip to content

Commit

Permalink
eepro: fix netdev_mc_count conversion
Browse files Browse the repository at this point in the history
Fix commit 4cd24ea (net: use netdev_mc_count and netdev_mc_empty when
appropriate)

Signed-off-by: Alexander Beregalov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
alexb0 authored and davem330 committed Feb 21, 2010
1 parent f66d744 commit 06c92ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/eepro.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 06c92ee

Please sign in to comment.