summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>2012-10-08 22:02:23 +0000
committerlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>2012-10-08 22:02:23 +0000
commit10e726cf65ea22c0097e62c4b019db6a19e06e68 (patch)
tree95d616adf8db69ed779531f776baeb1ef7ca2ceb
parent4652be0c5a106d0604c2d3274803fc0f844b0433 (diff)
downloadedk2-10e726cf65ea22c0097e62c4b019db6a19e06e68.zip
edk2-10e726cf65ea22c0097e62c4b019db6a19e06e68.tar.gz
edk2-10e726cf65ea22c0097e62c4b019db6a19e06e68.tar.bz2
Poll the network adapter during connect
Signed-off-by: lpleahy Reviewed-by: Dell, Sreenivasula Reddy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13803 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--StdLib/EfiSocketLib/Socket.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/StdLib/EfiSocketLib/Socket.c b/StdLib/EfiSocketLib/Socket.c
index 52e5f29..a74dcd0 100644
--- a/StdLib/EfiSocketLib/Socket.c
+++ b/StdLib/EfiSocketLib/Socket.c
@@ -1791,6 +1791,11 @@ EslSocketConnect (
case SOCKET_STATE_CONNECTING:
//
+ // Poll the network adapter
+ //
+ EslSocketRxPoll ( pSocket );
+
+ //
// Poll for connection completion
//
if ( NULL == pSocket->pApi->pfnConnectPoll ) {