提交 e78af366 编写于 作者: Y YOSHIFUJI Hideaki / 吉藤英明 提交者: Jeff Garzik

NS83820: Handle multicast frames.

Signed-off-by: NYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>

--
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 7132ab7f
......@@ -1582,7 +1582,7 @@ static void ns83820_set_multicast(struct net_device *ndev)
else
and_mask &= ~(RFCR_AAU | RFCR_AAM);
if (ndev->flags & IFF_ALLMULTI)
if (ndev->flags & IFF_ALLMULTI || ndev->mc_count)
or_mask |= RFCR_AAM;
else
and_mask &= ~RFCR_AAM;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册