modules/admin-full: use crypto mode "wep-open" instead of just "wep" in connection...
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 24 Mar 2011 21:08:28 +0000 (21:08 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 24 Mar 2011 21:08:28 +0000 (21:08 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua

index 1549568..9c848f2 100644 (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