diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-02-21 20:53:42 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-02-21 20:54:26 +0100 |
commit | 9b024767d7604c5a17b1e70df45231f134282003 (patch) | |
tree | 74bc8ca12626f9292f585247b4d515b09dd2114f /modules/luci-mod-network/htdocs | |
parent | 253dc658f36745adbdffd8fe37bb01ebfc9c7b4f (diff) |
luci-mod-network: explicitely configure "none" encryption in wifi join
Fixes: #3663
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/htdocs')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js | 3 |
1 files changed, 3 insertions, 0 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 4c75a2f0c9..a4de1c17c0 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 @@ -1902,6 +1902,9 @@ return L.view.extend({ uci.set('wireless', section_id, 'key', '1'); uci.set('wireless', section_id, 'key1', passval); } + else { + uci.set('wireless', section_id, 'encryption', 'none'); + } return network.addNetwork(nameval, { proto: 'dhcp' }).then(function(net) { firewall.deleteNetwork(net.getName()); |