Avoid infinite loop in RestartWifi().
Authored by: dannybackx 2019-04-19
Parent: [r210]
Child: [r212]