0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-12-22 02:53:49 +01:00

changed log level on removeConfig

This commit is contained in:
olijf 2016-03-30 15:57:00 +02:00
parent 0d9684bfca
commit 40a25789e2

View File

@ -177,9 +177,9 @@ end
function M.removeConfig(ssid)
local rv = false
uci:foreach('wireless', 'wifi-iface', function(s)
log:info(MOD_ABBR, utils.dump(s.ssid).."\n "..utils.dump(s))
log:verbose(MOD_ABBR, utils.dump(s.ssid).."\n "..utils.dump(s))
if s.ssid == ssid then
log:info(MOD_ABBR, "deleting faulty ssid: "..utils.dump(s['.name']))
log:verbose(MOD_ABBR, "deleting faulty ssid: "..utils.dump(s['.name']))
rv = uci:delete('wireless', s['.name'])
end
end)