diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-06-14 09:05:24 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-06-14 09:06:20 +0200 |
commit | 4286c84825c15f4d36f294b2ea28071667a4be7e (patch) | |
tree | 0b0be420ac2119e90b3d94a2dd5c39ab02b18304 /modules/luci-mod-network/htdocs/luci-static/resources | |
parent | e6a2cdbdab83f8eaefeec36ad668468ea374d471 (diff) |
luci-mod-network: wireless.js: recognize HE* htmodes
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=3856#comment9797
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js | 4 |
1 files changed, 3 insertions, 1 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 8f3f7a24ed..5115a69eb6 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 @@ -451,7 +451,9 @@ var CBIWifiFrequencyValue = form.Value.extend({ this.setValues(mode, this.modes); - if (/VHT20|VHT40|VHT80|VHT160/.test(htval)) + if (/HE20|HE40|HE80|HE160/.test(htval)) + mode.value = 'ax'; + else if (/VHT20|VHT40|VHT80|VHT160/.test(htval)) mode.value = 'ac'; else if (/HT20|HT40/.test(htval)) mode.value = 'n'; |