riscv/esp32c3: Support more country codes
This commit is contained in:
parent
4fc2f6e28c
commit
65d7f4bfb3
@ -6521,7 +6521,15 @@ int esp_wifi_sta_country(struct iwreq *iwr, bool set)
|
||||
}
|
||||
|
||||
if (strncmp(country_code, "US", 3) == 0 ||
|
||||
strncmp(country_code, "CA", 3) == 0)
|
||||
strncmp(country_code, "CA", 3) == 0 ||
|
||||
strncmp(country_code, "CO", 3) == 0 ||
|
||||
strncmp(country_code, "DO", 3) == 0 ||
|
||||
strncmp(country_code, "GT", 3) == 0 ||
|
||||
strncmp(country_code, "MX", 3) == 0 ||
|
||||
strncmp(country_code, "PA", 3) == 0 ||
|
||||
strncmp(country_code, "PR", 3) == 0 ||
|
||||
strncmp(country_code, "TW", 3) == 0 ||
|
||||
strncmp(country_code, "UZ", 3) == 0)
|
||||
{
|
||||
country.nchan = 11;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user