netdev: bfin_mac: Use is_multicast_ether_addr helper
Tobias Klauser [Tue, 11 Jan 2011 23:30:11 +0000 (23:30 +0000)]
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

drivers/net/bfin_mac.c

index 0b9fc51..fe75e7a 100644 (file)
@@ -1293,7 +1293,7 @@ static void bfin_mac_multicast_hash(struct net_device *dev)
                addrs = ha->addr;
 
                /* skip non-multicast addresses */
-               if (!(*addrs & 1))
+               if (!is_multicast_ether_addr(addrs))
                        continue;
 
                crc = ether_crc(ETH_ALEN, addrs);