From: Jo-Philipp Wich Date: Fri, 21 Feb 2020 19:53:42 +0000 (+0100) Subject: luci-mod-network: explicitely configure "none" encryption in wifi join X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9b024767d7604c5a17b1e70df45231f134282003;p=oweals%2Fluci.git luci-mod-network: explicitely configure "none" encryption in wifi join Fixes: #3663 Signed-off-by: Jo-Philipp Wich --- 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 4c75a2f0c..a4de1c17c 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());