Commit 7cfd829c authored by Amitkumar Karwar's avatar Amitkumar Karwar Committed by Kalle Valo

mwifiex: correction in region code to country mapping

EU is not a valid country in db.txt file. Hence regulatory_hint
returns failure if EEPROM provides region code as 0x30. Let's
use FR for 0x30.
Signed-off-by: default avatarAmitkumar Karwar <akarwar@marvell.com>
Signed-off-by: default avatarCathy Luo <cluo@marvell.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 947d3152
...@@ -168,7 +168,7 @@ struct region_code_mapping { ...@@ -168,7 +168,7 @@ struct region_code_mapping {
static struct region_code_mapping region_code_mapping_t[] = { static struct region_code_mapping region_code_mapping_t[] = {
{ 0x10, "US " }, /* US FCC */ { 0x10, "US " }, /* US FCC */
{ 0x20, "CA " }, /* IC Canada */ { 0x20, "CA " }, /* IC Canada */
{ 0x30, "EU " }, /* ETSI */ { 0x30, "FR " }, /* France */
{ 0x31, "ES " }, /* Spain */ { 0x31, "ES " }, /* Spain */
{ 0x32, "FR " }, /* France */ { 0x32, "FR " }, /* France */
{ 0x40, "JP " }, /* Japan */ { 0x40, "JP " }, /* Japan */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment