     }
   }    
   #ifdef WIFI_DEBUG_ON
-  debug_info("QD wifi_read()");
+  debug_info("QD wr()");
   #endif
 }
 

  {
    wifi_communication_state = idle;
    #ifdef WIFI_DEBUG_ON
    debug_info("QC wifi_read()");
    #endif
    return;
  }

    #ifdef WIFI_DEBUG_ON
    debug_info("*** Reseting Wifi (Watchdog)  ***");
    #endif
    if(wifi_client.connected())
    {
      wifi_client.stop();
      wifi_client.flush();
      wifi_client.stop();
    }
    wifi_on_home_network = false;
    WiFi.disconnect();
    wifi_communication_state = idle;
    gprs_or_wifi_watchdog_timestamp = current_timestamp;
    wifi_scan();
    #ifdef WIFI_DEBUG_ON
    debug_info("QB wr()");
    #endif
    return;
  }
