projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
modules/admin-full: use crypto mode "wep-open" instead of just "wep" in connection...
[project/luci.git]
/
modules
/
admin-full
/
luasrc
/
model
/
cbi
/
admin_network
/
wifi_add.lua
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
1549568
..
9c848f2
100644
(file)
--- 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