Fix TCP4/TCP6 connections. Connections were transitioning into the connected state and the polling was returning an error. Fix the polling routine to return success in this case.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: leroy.p.leahy@intel.com
Reviewed-by: SREENIVASULA_REDDY@Dell.com



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15355 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
leroy.p.leahy 2014-03-20 22:05:51 +00:00 committed by lpleahy
parent 774ccb4bcc
commit eb5b60155a
1 changed files with 2 additions and 3 deletions

View File

@ -1834,10 +1834,9 @@ EslSocketConnect (
case SOCKET_STATE_CONNECTED:
//
// Already connected
// Connected
//
pSocket->errno = EISCONN;
Status = EFI_ALREADY_STARTED;
Status = EFI_SUCCESS;
break;
}