Commit 6c64b0c6 authored by Tobias Klauser's avatar Tobias Klauser Committed by David S. Miller
Browse files

netdev: ucc_geth: Use is_multicast_ether_addr helper

Signed-off-by: default avatarTobias Klauser <>
Signed-off-by: default avatarDavid S. Miller <>
parent 5b919f83
......@@ -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))
/* Ask CPM to run CRC and set bit in
Supports Markdown
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