summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/model/cbi
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-03-24 21:08:28 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-03-24 21:08:28 +0000
commite853a98c3e6691d82596f0f31d90bda46d7ac196 (patch)
treea438a1a0c3edbca46161b030fb2d10a2753468c9 /modules/admin-full/luasrc/model/cbi
parentad45ebf430d52e58549fe22407228addb5bad36f (diff)
modules/admin-full: use crypto mode "wep-open" instead of just "wep" in connection wizzard
Diffstat (limited to 'modules/admin-full/luasrc/model/cbi')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua b/modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua
index 1549568c7..9c848f250 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua
@@ -142,7 +142,7 @@ function newnet.parse(self, section)
}
if m.hidden.wep == "1" then
- wconf.encryption = "wep"
+ wconf.encryption = "wep-open"
wconf.key = "1"
wconf.key1 = key and key:formvalue(section) or ""
elseif (tonumber(m.hidden.wpa_version) or 0) > 0 then