aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAjit Khaparde <ajitk@serverengines.com>2009-11-29 17:55:39 +0000
committerDavid S. Miller <davem@davemloft.net>2009-12-02 00:50:24 -0800
commit35a652859ad76d8bd989025952ecb80d7c5304a4 (patch)
treefab48d12897d779a3f8f9b55cae53a2fe0c3e746
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>
-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 2c84c92c411..e24f498f37c 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;
}