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 1549568c75a93419906a051d20d4dab7bd5f14dc..9c848f250c1549b4a3dc4e07bf5d654d6febc769 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