Skip to content

Commit

Permalink
netdev: bfin_mac: Use is_multicast_ether_addr helper
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Tobias Klauser authored and David S. Miller committed Jan 13, 2011
1 parent 6c64b0c commit 1225277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/bfin_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1225277

Please sign in to comment.