mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 22:52:35 +02:00
net🛜bcm4329: add country code setting for various radio regulator domains.
This commit is contained in:
parent
95f4029300
commit
fba8c05b40
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user