netdev: ucc_geth: Use is_multicast_ether_addr helper

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Tobias Klauser 2011-01-11 23:31:01 +00:00 committed by David S. Miller
parent 5b919f833d
commit 6c64b0c696

View file

@ -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