diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2019-09-24 19:16:14 +0200 |
---|---|---|
committer | Ansuel Smith <ansuelsmth@gmail.com> | 2019-09-24 19:39:12 +0200 |
commit | 3571af9488627959e85c81b584ef14c61054c1ae (patch) | |
tree | 9ba538d152439814ec8b878ddd6234de254fcba6 /modules/luci-mod-network/htdocs/luci-static | |
parent | 5c8a3c5b7993f52ecaadd53a3516f86231a1cff3 (diff) |
luci-mod-network: permit WPS push-button on WPA3
Currently WPS push-button is dropped when SAE or SAE-Mixed is selected. WPS is still supported in WPA3.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static')
-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 e6494f6b21..f02b254645 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 @@ -1592,13 +1592,15 @@ return L.view.extend({ o.depends({ mode: 'ap-wds', encryption: 'sae-mixed' }); if (L.hasSystemFeature('hostapd', 'cli') && L.hasSystemFeature('wpasupplicant')) { - o = ss.taboption('encryption', form.Flag, 'wps_pushbutton', _('Enable WPS pushbutton, requires WPA(2)-PSK')) + o = ss.taboption('encryption', form.Flag, 'wps_pushbutton', _('Enable WPS pushbutton, requires WPA(2)-PSK/WPA3-SAE')) o.enabled = '1'; o.disabled = '0'; o.default = o.disabled; o.depends('encryption', 'psk'); o.depends('encryption', 'psk2'); o.depends('encryption', 'psk-mixed'); + o.depends('encryption', 'sae'); + o.depends('encryption', 'sae-mixed'); } } } |