From f1ff34af6da64ab5e052c68aa2bfe5caea11d2e4 Mon Sep 17 00:00:00 2001 From: billz Date: Sat, 28 Dec 2019 00:04:50 +0000 Subject: [PATCH] Expanded 5Ghz country list (testing) --- app/js/custom.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/js/custom.js b/app/js/custom.js index 749d6a89..c25aa2ed 100644 --- a/app/js/custom.js +++ b/app/js/custom.js @@ -214,7 +214,8 @@ function loadChannelSelect(selected) { var 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', 'US', 'CA', 'UZ', 'CO'); var countries_2_4Ghz_max14ch = Array('JP'); - var countries_5Ghz_max48ch = Array('US'); + var countries_5Ghz_max48ch = Array('AU', 'BR', 'CA', 'EE', 'HK', 'IL', 'IS', 'LT', 'LV', 'NZ', 'US', + 'PH', 'SI', 'SK'); if (($.inArray(country_code, countries_2_4Ghz_max11ch) !== -1) && (hw_mode !== 'ac') ) { selectablechannels = Array.range(1,12); } else if (($.inArray(country_code, countries_2_4Ghz_max14ch) !== -1) && (hw_mode === 'b')) {