Skip to content

Commit

Permalink
netdev: ucc_geth: 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>
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 5b919f8 commit 6c64b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ucc_geth.c
Original file line number Diff line number Diff line change
Expand Up @@ -2031,7 +2031,7 @@ static void ucc_geth_set_multi(struct net_device *dev)
netdev_for_each_mc_addr(ha, dev) {
/* Only support group multicast for now.
*/
if (!(ha->addr[0] & 1))
if (!is_multicast_ether_addr(ha->addr))
continue;

/* Ask CPM to run CRC and set bit in
Expand Down

0 comments on commit 6c64b0c

Please sign in to comment.