提交 12252771 编写于 作者: T Tobias Klauser 提交者: David S. Miller

netdev: bfin_mac: Use is_multicast_ether_addr helper

Signed-off-by: NTobias Klauser <tklauser@distanz.ch>
Acked-by: NMike Frysinger <vapier@gentoo.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 6c64b0c6
...@@ -1293,7 +1293,7 @@ static void bfin_mac_multicast_hash(struct net_device *dev) ...@@ -1293,7 +1293,7 @@ static void bfin_mac_multicast_hash(struct net_device *dev)
addrs = ha->addr; addrs = ha->addr;
/* skip non-multicast addresses */ /* skip non-multicast addresses */
if (!(*addrs & 1)) if (!is_multicast_ether_addr(addrs))
continue; continue;
crc = ether_crc(ETH_ALEN, addrs); crc = ether_crc(ETH_ALEN, addrs);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册