diff options
Diffstat (limited to 'drivers/net/pcmcia/3c589_cs.c')
-rw-r--r-- | drivers/net/pcmcia/3c589_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/3c589_cs.c b/drivers/net/pcmcia/3c589_cs.c index 322e11df0097..091e0b00043e 100644 --- a/drivers/net/pcmcia/3c589_cs.c +++ b/drivers/net/pcmcia/3c589_cs.c | |||
@@ -886,7 +886,7 @@ static void set_rx_mode(struct net_device *dev) | |||
886 | 886 | ||
887 | if (dev->flags & IFF_PROMISC) | 887 | if (dev->flags & IFF_PROMISC) |
888 | opts |= RxMulticast | RxProm; | 888 | opts |= RxMulticast | RxProm; |
889 | else if (dev->mc_count || (dev->flags & IFF_ALLMULTI)) | 889 | else if (!netdev_mc_empty(dev) || (dev->flags & IFF_ALLMULTI)) |
890 | opts |= RxMulticast; | 890 | opts |= RxMulticast; |
891 | outw(opts, ioaddr + EL3_CMD); | 891 | outw(opts, ioaddr + EL3_CMD); |
892 | } | 892 | } |