diff options
Diffstat (limited to 'drivers/net/ni5010.c')
-rw-r--r-- | drivers/net/ni5010.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ni5010.c b/drivers/net/ni5010.c index 6a87d810e59d..c16cbfb4061b 100644 --- a/drivers/net/ni5010.c +++ b/drivers/net/ni5010.c | |||
@@ -651,7 +651,8 @@ static void ni5010_set_multicast_list(struct net_device *dev) | |||
651 | 651 | ||
652 | PRINTK2((KERN_DEBUG "%s: entering set_multicast_list\n", dev->name)); | 652 | PRINTK2((KERN_DEBUG "%s: entering set_multicast_list\n", dev->name)); |
653 | 653 | ||
654 | if (dev->flags&IFF_PROMISC || dev->flags&IFF_ALLMULTI || dev->mc_list) { | 654 | if (dev->flags & IFF_PROMISC || dev->flags & IFF_ALLMULTI || |
655 | !netdev_mc_empty(dev)) { | ||
655 | outb(RMD_PROMISC, EDLC_RMODE); /* Enable promiscuous mode */ | 656 | outb(RMD_PROMISC, EDLC_RMODE); /* Enable promiscuous mode */ |
656 | PRINTK((KERN_DEBUG "%s: Entering promiscuous mode\n", dev->name)); | 657 | PRINTK((KERN_DEBUG "%s: Entering promiscuous mode\n", dev->name)); |
657 | } else { | 658 | } else { |