From: Ajit Khaparde Date: Sun, 29 Nov 2009 17:55:39 +0000 (+0000) Subject: be2net: initialize netdev->perm_addr X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=35a652859ad76d8bd989025952ecb80d7c5304a4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git be2net: initialize netdev->perm_addr patch to initialize netdev->perm_addr Signed-off-by: Ajit Khaparde Signed-off-by: David S. Miller --- diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index 2c84c92c4116..e24f498f37cd 100644 --- a/drivers/net/benet/be_main.c +++ b/drivers/net/benet/be_main.c @@ -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; }