Skip to content

Commit

Permalink
be2net: initialize netdev->perm_addr
Browse files Browse the repository at this point in the history
patch to initialize netdev->perm_addr

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ajit Khaparde authored and David S. Miller committed Dec 2, 2009
1 parent 51c5987 commit 35a6528
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/benet/be_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 35a6528

Please sign in to comment.