1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Fix JP country code

This commit is contained in:
billz 2019-11-13 10:33:04 +00:00
parent 25d1ddeed6
commit bce1278dfc

View File

@ -67,7 +67,7 @@
$countries_2_4Ghz_max11ch = array('AG', 'BS', 'BB', 'BZ', 'CR', 'CU', 'DM', 'DO', 'SV', 'GD', 'GT', $countries_2_4Ghz_max11ch = array('AG', 'BS', 'BB', 'BZ', 'CR', 'CU', 'DM', 'DO', 'SV', 'GD', 'GT',
'HT', 'HN', 'JM', 'MX', 'NI', 'PA', 'KN', 'LC', 'VC', 'TT', 'HT', 'HN', 'JM', 'MX', 'NI', 'PA', 'KN', 'LC', 'VC', 'TT',
'US', 'CA', 'UZ', 'CO'); 'US', 'CA', 'UZ', 'CO');
$countries_2_4Ghz_max14ch = array('JA'); $countries_2_4Ghz_max14ch = array('JP');
if (in_array($arrConfig['country_code'], $countries_max11channels)) { if (in_array($arrConfig['country_code'], $countries_max11channels)) {
// In North America till channel 11 is the maximum allowed wi-fi 2.4Ghz channel. // In North America till channel 11 is the maximum allowed wi-fi 2.4Ghz channel.
// Except for the US that allows channel 12 & 13 in low power mode with additional restrictions. // Except for the US that allows channel 12 & 13 in low power mode with additional restrictions.