fixes hard fault when calling smart config with wifi off