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:
Родитель
5b919f833d
Коммит
6c64b0c696
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче