提交 35a65285 编写于 作者: A Ajit Khaparde 提交者: David S. Miller

be2net: initialize netdev->perm_addr

patch to initialize netdev->perm_addr
Signed-off-by: NAjit Khaparde <ajitk@serverengines.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 51c59870
......@@ -2147,6 +2147,7 @@ static int be_get_config(struct be_adapter *adapter)
if (status)
return status;
memcpy(adapter->netdev->dev_addr, mac, ETH_ALEN);
memcpy(adapter->netdev->perm_addr, mac, ETH_ALEN);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册