]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/BsdSocketLib/sendto.c
Fix send to properly wait while long transmits are in progress
[mirror_edk2.git] / StdLib / BsdSocketLib / sendto.c
index 338eb36eb9eec1c49a9424dfce20ebad4f68b7b9..aa6ea8c14a14d3c88cfe83cba3cd770dda81bdf6 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