summaryrefslogtreecommitdiff
path: root/StdLib/EfiSocketLib
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 /StdLib/EfiSocketLib
parent4652be0c5a106d0604c2d3274803fc0f844b0433 (diff)
downloadedk2-platforms-10e726cf65ea22c0097e62c4b019db6a19e06e68.tar.xz
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
Diffstat (limited to 'StdLib/EfiSocketLib')
-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 52e5f2948e..a74dcd07f6 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 ) {