Fix send to properly wait while long transmits are in progress
[mirror_edk2.git] / StdLib / BsdSocketLib / sendto.c
index 338eb36..aa6ea8c 100644 (file)
@@ -82,7 +82,7 @@ sendto (
                                           to,\r
                                           tolen,\r
                                           &errno );\r
-      if ( EFI_ERROR ( Status )) {\r
+      if ( EFI_ERROR ( Status ) && ( EFI_NOT_READY != Status )) {\r
         LengthInBytes = -1;\r
         break;\r
       }\r