Remove all wireless configs with ssid instead of only the first

This commit is contained in:
peteruithoven
2014-02-24 16:37:30 +01:00
parent d5f2ec85d3
commit 8f6fc9dc99
-1
View File
@@ -174,7 +174,6 @@ function M.removeConfig(ssid)
if s.ssid == ssid then
uci:delete('wireless', s['.name'])
rv = true
return false
end
end)
uci:commit('wireless')