mirror of https://github.com/acidanthera/audk.git
Fix listen exit path when last port returns an error.
Signed-off-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13466 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4d93b754bf
commit
b497a8a894
|
@ -790,6 +790,8 @@ EslTcp4Listen (
|
|||
// Mark the socket as configured
|
||||
//
|
||||
pSocket->bConfigured = TRUE;
|
||||
Status = EFI_SUCCESS;
|
||||
pSocket->errno = 0;
|
||||
|
||||
//
|
||||
// All done
|
||||
|
|
|
@ -821,6 +821,8 @@ EslTcp6Listen (
|
|||
// Mark the socket as configured
|
||||
//
|
||||
pSocket->bConfigured = TRUE;
|
||||
Status = EFI_SUCCESS;
|
||||
pSocket->errno = 0;
|
||||
|
||||
//
|
||||
// All done
|
||||
|
|
Loading…
Reference in New Issue