Fix: Allow Ping to succeed on Mediatek if >= 0 pings
@@ -1451,7 +1451,12 @@ WIFIReturnCode_t WIFI_Ping( uint8_t * pucIPAddr,
if( count < 0 )
return eWiFiFailure;
- return count == usCount ? eWiFiSuccess : eWiFiFailure;
+ if( count != usCount )
+ {
+ printf("WIFI_Ping: only %d pings reached out of %d\n", count, usCount);
+ }
+
+ return eWiFiSuccess;
}
/*-----------------------------------------------------------*/
