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:
4b66cce
)
wifi:bcm4329: add a strategy that use wlan mac address to cauculate bluetooth mac...
author
lbt
<lbt@rock-chip.com>
Wed, 30 Mar 2011 08:16:59 +0000
(16:16 +0800)
committer
lbt
<lbt@rock-chip.com>
Wed, 30 Mar 2011 08:24:00 +0000
(16:24 +0800)
drivers/net/wireless/bcm4329/dhd_cdc.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/bcm4329/dhd_cdc.c
b/drivers/net/wireless/bcm4329/dhd_cdc.c
index 61f6a6f393a977e96351b669f91204f67c4067d7..a68ad61c58b4f8d6596bb8e27f604d902b0e2c46 100644
(file)
--- a/
drivers/net/wireless/bcm4329/dhd_cdc.c
+++ b/
drivers/net/wireless/bcm4329/dhd_cdc.c
@@
-41,6
+41,8
@@
#include <dhd_bus.h>
#include <dhd_dbg.h>
+uint8 wlan_mac_addr[ETHER_ADDR_LEN];
+
extern int dhd_preinit_ioctls(dhd_pub_t *dhd);
/* Packet alignment for most efficient SDIO (can change based on platform) */
@@
-502,6
+504,7
@@
dhd_prot_init(dhd_pub_t *dhd)
return ret;
}
memcpy(dhd->mac.octet, buf, ETHER_ADDR_LEN);
+ memcpy(wlan_mac_addr, buf, ETHER_ADDR_LEN);
dhd_os_proto_unblock(dhd);