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:
0cea378
)
wifi: update bcm4329 driver to support the max number of channels
author
lbt
<lbt@rock-chips.com>
Thu, 30 Dec 2010 03:57:30 +0000
(11:57 +0800)
committer
lbt
<lbt@rock-chips.com>
Thu, 30 Dec 2010 03:57:30 +0000
(11:57 +0800)
drivers/net/wireless/bcm4329/dhd_common.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/bcm4329/dhd_common.c
b/drivers/net/wireless/bcm4329/dhd_common.c
index 15a91fb2b0a20b86459634e1c43d6aa2e7ba9014..2fe30bdfdde59126d43a611324ceaacc7198003d 100644
(file)
--- a/
drivers/net/wireless/bcm4329/dhd_common.c
+++ b/
drivers/net/wireless/bcm4329/dhd_common.c
@@
-1265,6
+1265,9
@@
dhd_preinit_ioctls(dhd_pub_t *dhd)
memcpy(dhd->mac.octet, (void *)&ea_addr, ETHER_ADDR_LEN);
}
#endif /* GET_CUSTOM_MAC_ENABLE */
+
+ memset(dhd->country_code, 0, sizeof(dhd->country_code));
+ strncpy(dhd->country_code,"JP", 2); //set max numbers of radio channels
/* Set Country code */
if (dhd->country_code[0] != 0) {