Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06c92ee6 authored by Alexander Beregalov's avatar Alexander Beregalov Committed by David S. Miller
Browse files

eepro: fix netdev_mc_count conversion



Fix commit 4cd24eaf (net: use netdev_mc_count and netdev_mc_empty when
appropriate)

Signed-off-by: default avatarAlexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f66d744d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
	{