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:
95f4029
)
net:wireless:bcm4329: add country code setting for various radio regulator domains.
author
lbt
<lbt@rock-chip.com>
Thu, 28 Jul 2011 10:40:52 +0000
(18:40 +0800)
committer
lbt
<lbt@rock-chip.com>
Thu, 28 Jul 2011 10:44:10 +0000
(18:44 +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 236230e307c0e482d35c41022b8d8d5894abbff2..47e29969126a107a6fbaeb2660f89946766683ff 100644
(file)
--- a/
drivers/net/wireless/bcm4329/dhd_common.c
+++ b/
drivers/net/wireless/bcm4329/dhd_common.c
@@
-1289,7
+1289,12
@@
dhd_preinit_ioctls(dhd_pub_t *dhd)
}
#endif /* SET_RANDOM_MAC_SOFTAP */
- /* Set Country code */
+ /* Set Country code
+ * "US" ---> 11 channels, this is default setting.
+ * "EU" ---> 13 channels
+ * "JP" ---> 14 channels
+ */
+ strcpy(dhd->country_code, "EU");
if (dhd->country_code[0] != 0) {
if (dhdcdc_set_ioctl(dhd, 0, WLC_SET_COUNTRY,
dhd->country_code, sizeof(dhd->country_code)) < 0) {