* 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 ba582cf..e6b39f8 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