summaryrefslogtreecommitdiff
path: root/StdLib/BsdSocketLib/sendto.c
diff options
context:
space:
mode:
authorlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-03 17:45:52 +0000
committerlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-03 17:45:52 +0000
commit486aace42ca6fd9bd80f80197f0bb24cec99f3b6 (patch)
tree858a7ee19744ce0c0745905b07ca47cde83d1db2 /StdLib/BsdSocketLib/sendto.c
parent1e2b43f1e25fe15a54bb412e6d01fd3607f5eeae (diff)
downloadedk2-platforms-486aace42ca6fd9bd80f80197f0bb24cec99f3b6.tar.xz
Fix send to properly wait while long transmits are in progress
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12083 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/BsdSocketLib/sendto.c')
-rw-r--r--StdLib/BsdSocketLib/sendto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/StdLib/BsdSocketLib/sendto.c b/StdLib/BsdSocketLib/sendto.c
index 338eb36eb9..aa6ea8c14a 100644
--- a/StdLib/BsdSocketLib/sendto.c
+++ b/StdLib/BsdSocketLib/sendto.c
@@ -82,7 +82,7 @@ sendto (
to,
tolen,
&errno );
- if ( EFI_ERROR ( Status )) {
+ if ( EFI_ERROR ( Status ) && ( EFI_NOT_READY != Status )) {
LengthInBytes = -1;
break;
}