projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aa5b7f
)
net: wireless: bcmdhd: Fix mac setting from platform hook
author
Dmitry Shmidt
<dimitrysh@google.com>
Tue, 13 Mar 2012 22:25:46 +0000
(15:25 -0700)
committer
Dmitry Shmidt
<dimitrysh@google.com>
Wed, 14 Mar 2012 23:36:41 +0000
(16:36 -0700)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/dhd_linux.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/bcmdhd/dhd_linux.c
b/drivers/net/wireless/bcmdhd/dhd_linux.c
index 7006860a82dc011d7665b15396746ec593afcd1a..5ed76f9a4ce8d6c3ea574e862b94b09edb7e0281 100644
(file)
--- a/
drivers/net/wireless/bcmdhd/dhd_linux.c
+++ b/
drivers/net/wireless/bcmdhd/dhd_linux.c
@@
-2968,6
+2968,7
@@
dhd_preinit_ioctls(dhd_pub_t *dhd)
DHD_ERROR(("%s: can't set MAC address , error=%d\n", __FUNCTION__, ret));
return BCME_NOTUP;
}
+ memcpy(dhd->mac.octet, ea_addr.octet, ETHER_ADDR_LEN);
} else {
#endif /* GET_CUSTOM_MAC_ENABLE */
/* Get the default device MAC address directly from firmware */