mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-17 05:45:20 +00:00
be2net: initialize netdev->perm_addr
patch to initialize netdev->perm_addr Signed-off-by: Ajit Khaparde <ajitk@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
51c59870f3
commit
35a652859a
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user