1
0
Fork 0

mwifiex: use world for unidentified region code

It's better to use world if region code from EEPROM is
unidentied instead of forcing it to FCC

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
hifive-unleashed-5.1
Amitkumar Karwar 2015-12-14 04:15:14 -08:00 committed by Kalle Valo
parent 610d0af8e8
commit 19b0a71017
1 changed files with 2 additions and 2 deletions

View File

@ -1637,9 +1637,9 @@ int mwifiex_ret_get_hw_spec(struct mwifiex_private *priv,
if (adapter->region_code == region_code_index[i])
break;
/* If it's unidentified region code, use the default (USA) */
/* If it's unidentified region code, use the default (world) */
if (i >= MWIFIEX_MAX_REGION_CODE) {
adapter->region_code = 0x10;
adapter->region_code = 0x00;
mwifiex_dbg(adapter, WARN,
"cmd: unknown region code, use default (USA)\n");
}