diff options
author | Ajit Khaparde <ajitk@serverengines.com> | 2009-11-29 17:55:39 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-02 00:50:24 -0800 |
commit | 35a652859ad76d8bd989025952ecb80d7c5304a4 (patch) | |
tree | fab48d12897d779a3f8f9b55cae53a2fe0c3e746 /drivers/net/benet | |
parent | 51c59870f324805ed30eaa2c0089b4cb5f9f7c71 (diff) | |
download | op-kernel-dev-35a652859ad76d8bd989025952ecb80d7c5304a4.zip op-kernel-dev-35a652859ad76d8bd989025952ecb80d7c5304a4.tar.gz |
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/net/benet')
-rw-r--r-- | drivers/net/benet/be_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index 2c84c92..e24f498 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; } |