Update wifi.c

wait for wifi.wpa_supp_ready = "1"