mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
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:
parent
5b919f833d
commit
6c64b0c696
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue