]> Pileus Git - ~andy/linux/blobdiff - drivers/net/3c501.c
ath5k: Use high bitrates for ACK/CTS
[~andy/linux] / drivers / net / 3c501.c
index 4d4cad393dce36f0321c5764eee6ea8c6246230b..b6de7b1e2a5cbaeff1ae9caf47b13836e4f63244 100644 (file)
@@ -812,7 +812,7 @@ static void set_multicast_list(struct net_device *dev)
        if (dev->flags & IFF_PROMISC) {
                outb(RX_PROM, RX_CMD);
                inb(RX_STATUS);
-       } else if (dev->mc_list || dev->flags & IFF_ALLMULTI) {
+       } else if (!netdev_mc_empty(dev) || dev->flags & IFF_ALLMULTI) {
                /* Multicast or all multicast is the same */
                outb(RX_MULT, RX_CMD);
                inb(RX_STATUS);         /* Clear status. */