* Fixed Freifunk wizard again
authorSteven Barth <steven@midlink.org>
Sun, 27 Apr 2008 21:09:45 +0000 (21:09 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 27 Apr 2008 21:09:45 +0000 (21:09 +0000)
module/admin-core/src/controller/admin/index.lua

index ba582cf5c541055f62a37f604f166f092e04dee3..e6b39f8a060f2da37cd2d832eb54111e94ddd7c7 100644 (file)
@@ -109,7 +109,7 @@ function configure_freifunk()
        local wcfg = uci:show("wireless")
        if type(wifi) == "table" and wcfg then
                for iface, v in pairs(wifi) do
-                       if wcfg[iface] then
+                       if wcfg.wireless[iface] then
                                -- Cleanup
                                for k, v in pairs(wcfg.wireless) do
                                        if v[".type"] == "wifi-iface" and v.device == iface then