summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network
diff options
context:
space:
mode:
authorRudy Andram <rmandrad@gmail.com>2024-10-29 05:21:16 +0000
committerPaul Donald <newtwen+github@gmail.com>2024-10-29 19:58:05 +0100
commit2becdcc2f587316ea8cb8b8448eabf96f681f8ca (patch)
tree601a6527068116c1a1ce6f5ef79e72dcfb24132a /modules/luci-mod-network
parentecd100475f2f6c9a2a8775a88f3a9229a9eb52ec (diff)
luci-mod-network: add 11be support - revert hwval null check for 5g/2g mode
remove misplaced ax/be checks Signed-off-by: Rudy Andram <rmandrad@gmail.com>
Diffstat (limited to 'modules/luci-mod-network')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
index 45790c3cf5..4b12042b72 100644
--- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
+++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
@@ -521,9 +521,7 @@ var CBIWifiFrequencyValue = form.Value.extend({
if (hwval != null) {
this.useBandOption = false;
- if (/be/.test(mode.value))
- band.value = '6g';
- else if (/ax/.test(mode.value))
+ if (/a/.test(hwval))
band.value = '5g';
else
band.value = '2g';