mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-31 15:03:48 +01:00
Remove all wireless configs with ssid instead of only the first
This commit is contained in:
parent
d5f2ec85d3
commit
8f6fc9dc99
@ -174,7 +174,6 @@ function M.removeConfig(ssid)
|
|||||||
if s.ssid == ssid then
|
if s.ssid == ssid then
|
||||||
uci:delete('wireless', s['.name'])
|
uci:delete('wireless', s['.name'])
|
||||||
rv = true
|
rv = true
|
||||||
return false
|
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
uci:commit('wireless')
|
uci:commit('wireless')
|
||||||
|
Loading…
Reference in New Issue
Block a user