netdev: bfin_mac: Use is_multicast_ether_addr helper

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Tobias Klauser 2011-01-11 23:30:11 +00:00 committed by David S. Miller
parent 6c64b0c696
commit 1225277169

View 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);