* [PATCH net-next-2.6 2/6] be2net: initialize netdev->perm_addr
@ 2009-11-30 3:55 Ajit Khaparde
2009-12-02 9:11 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Ajit Khaparde @ 2009-11-30 3:55 UTC (permalink / raw)
To: David Miller; +Cc: netdev
patch to initialize netdev->perm_addr
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
---
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;
}
--
1.6.3.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-02 9:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-30 3:55 [PATCH net-next-2.6 2/6] be2net: initialize netdev->perm_addr Ajit Khaparde
2009-12-02 9:11 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox