Made wifi detection not show error messages.