* Fixed Freifunk wizard again

This commit is contained in:
Steven Barth 2008-04-27 21:09:45 +00:00
parent a48593c145
commit 9d8689b09b

View 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