summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--module/admin-core/src/controller/admin/index.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/admin-core/src/controller/admin/index.lua b/module/admin-core/src/controller/admin/index.lua
index ba582cf5c5..e6b39f8a06 100644
--- a/module/admin-core/src/controller/admin/index.lua
+++ b/module/admin-core/src/controller/admin/index.lua
@@ -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