netdev: bfin_mac: Use is_multicast_ether_addr helper
authorTobias Klauser <tklauser@distanz.ch>
Tue, 11 Jan 2011 23:30:11 +0000 (23:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Jan 2011 02:46:12 +0000 (18:46 -0800)
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 0b9fc5173aef1478355e9cadbcb635f1fdca594d..fe75e7a9742e3c41ed22520a4771b64353b7d417 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);