modules/admin-full: use crypto mode "wep-open" instead of just "wep" in connection wizzard

This commit is contained in:
Jo-Philipp Wich 2011-03-24 21:08:28 +00:00
parent ad45ebf430
commit e853a98c3e

View file

@ -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