aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAjit Khaparde <ajitk@serverengines.com>2009-11-29 12:55:39 -0500
committerDavid S. Miller <davem@davemloft.net>2009-12-02 03:50:24 -0500
commit35a652859ad76d8bd989025952ecb80d7c5304a4 (patch)
treefab48d12897d779a3f8f9b55cae53a2fe0c3e746 /drivers
parent51c59870f324805ed30eaa2c0089b4cb5f9f7c71 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/benet/be_main.c1
1 files changed, 1 insertions, 0 deletions
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)
2147 if (status) 2147 if (status)
2148 return status; 2148 return status;
2149 memcpy(adapter->netdev->dev_addr, mac, ETH_ALEN); 2149 memcpy(adapter->netdev->dev_addr, mac, ETH_ALEN);
2150 memcpy(adapter->netdev->perm_addr, mac, ETH_ALEN);
2150 2151
2151 return 0; 2152 return 0;
2152} 2153}