Commit 35a65285 authored by Ajit Khaparde's avatar Ajit Khaparde Committed by David S. Miller

be2net: initialize netdev->perm_addr

patch to initialize netdev->perm_addr
Signed-off-by: default avatarAjit Khaparde <ajitk@serverengines.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 51c59870
...@@ -2147,6 +2147,7 @@ static int be_get_config(struct be_adapter *adapter) ...@@ -2147,6 +2147,7 @@ static int be_get_config(struct be_adapter *adapter)
if (status) if (status)
return status; return status;
memcpy(adapter->netdev->dev_addr, mac, ETH_ALEN); memcpy(adapter->netdev->dev_addr, mac, ETH_ALEN);
memcpy(adapter->netdev->perm_addr, mac, ETH_ALEN);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment