From 9b024767d7604c5a17b1e70df45231f134282003 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 21 Feb 2020 20:53:42 +0100 Subject: luci-mod-network: explicitely configure "none" encryption in wifi join Fixes: #3663 Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/resources/view/network/wireless.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/luci-mod-network/htdocs') 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()); -- cgit v1.2.3