summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/marvell/mwifiex/cfp.c
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2015-12-04 17:13:07 +0300
committerKalle Valo <kvalo@codeaurora.org>2015-12-11 14:24:15 +0300
commit7cfd829cfe559d6df4c261584a72bb4ea23470d0 (patch)
tree8b3a151cab91769c0825a79dfc7c8ef8c1bd4de2 /drivers/net/wireless/marvell/mwifiex/cfp.c
parent947d315257f9b25b0e24f5706f8184b3b00774d4 (diff)
downloadlinux-7cfd829cfe559d6df4c261584a72bb4ea23470d0.tar.xz
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: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Cathy Luo <cluo@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/cfp.c')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/cfp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/cfp.c b/drivers/net/wireless/marvell/mwifiex/cfp.c
index dd3adc52b017..beb564fb2dba 100644
--- a/drivers/net/wireless/marvell/mwifiex/cfp.c
+++ b/drivers/net/wireless/marvell/mwifiex/cfp.c
@@ -168,7 +168,7 @@ struct region_code_mapping {
static struct region_code_mapping region_code_mapping_t[] = {
{ 0x10, "US " }, /* US FCC */
{ 0x20, "CA " }, /* IC Canada */
- { 0x30, "EU " }, /* ETSI */
+ { 0x30, "FR " }, /* France */
{ 0x31, "ES " }, /* Spain */
{ 0x32, "FR " }, /* France */
{ 0x40, "JP " }, /* Japan */