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:
parent
6c64b0c696
commit
1225277169
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue