diff options
Diffstat (limited to 'drivers/net/eth16i.c')
-rw-r--r-- | drivers/net/eth16i.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/eth16i.c b/drivers/net/eth16i.c index 71bfeec33a0b..d3abeee3f110 100644 --- a/drivers/net/eth16i.c +++ b/drivers/net/eth16i.c | |||
@@ -1359,7 +1359,7 @@ static void eth16i_multicast(struct net_device *dev) | |||
1359 | { | 1359 | { |
1360 | int ioaddr = dev->base_addr; | 1360 | int ioaddr = dev->base_addr; |
1361 | 1361 | ||
1362 | if(dev->mc_count || dev->flags&(IFF_ALLMULTI|IFF_PROMISC)) | 1362 | if (!netdev_mc_empty(dev) || dev->flags&(IFF_ALLMULTI|IFF_PROMISC)) |
1363 | { | 1363 | { |
1364 | outb(3, ioaddr + RECEIVE_MODE_REG); | 1364 | outb(3, ioaddr + RECEIVE_MODE_REG); |
1365 | } else { | 1365 | } else { |