From: Amitkumar Karwar Date: Fri, 4 Dec 2015 14:13:07 +0000 (-0800) Subject: mwifiex: correction in region code to country mapping X-Git-Tag: v4.5-rc1~128^2~63^2~54 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7cfd829cfe559d6df4c261584a72bb4ea23470d0;p=karo-tx-linux.git 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 Signed-off-by: Cathy Luo Signed-off-by: Kalle Valo --- 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 */