projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51c5987
)
be2net: initialize netdev->perm_addr
author
Ajit Khaparde
<ajitk@serverengines.com>
Sun, 29 Nov 2009 17:55:39 +0000
(17:55 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 2 Dec 2009 08:50:24 +0000
(
00:50
-0800)
patch to initialize netdev->perm_addr
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/benet/be_main.c
b/drivers/net/benet/be_main.c
index 2c84c92c4116c9c9911716663092cdcad9f9f599..e24f498f37cdfbe04d56e99261ef8cb8fce2cfa9 100644
(file)
--- 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;
}