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:
parent
774ccb4bcc
commit
eb5b60155a
@ -1834,10 +1834,9 @@ EslSocketConnect (
|
|||||||
|
|
||||||
case SOCKET_STATE_CONNECTED:
|
case SOCKET_STATE_CONNECTED:
|
||||||
//
|
//
|
||||||
// Already connected
|
// Connected
|
||||||
//
|
//
|
||||||
pSocket->errno = EISCONN;
|
Status = EFI_SUCCESS;
|
||||||
Status = EFI_ALREADY_STARTED;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user