Commit 12252771 authored by Tobias Klauser's avatar Tobias Klauser Committed by David S. Miller

netdev: bfin_mac: Use is_multicast_ether_addr helper

Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6c64b0c6
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment