提交 b6bd29e7 编写于 作者: D Dimitris Michailidis 提交者: David S. Miller

cxgb4: fix initial addition of MAC address

The call to add the MAC address during link initialization wasn't adding the
address to one of the HW tables.  Fix.
Signed-off-by: NDimitris Michailidis <dm@chelsio.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 48f753d2
......@@ -315,7 +315,7 @@ static int link_start(struct net_device *dev)
if (ret == 0) {
ret = t4_change_mac(pi->adapter, 0, pi->viid,
pi->xact_addr_filt, dev->dev_addr, true,
false);
true);
if (ret >= 0) {
pi->xact_addr_filt = ret;
ret = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册