diff options
author | lpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-06-22 21:46:55 +0000 |
---|---|---|
committer | lpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-06-22 21:46:55 +0000 |
commit | b497a8a89407a4c3566b7e833bbdabc2f61eefd0 (patch) | |
tree | 67b2a1205ed4bf59b7ca784ad6503cca11e95daf /StdLib/EfiSocketLib/Tcp6.c | |
parent | 4d93b754bf387112e260490f803ec1ea1e6e5c54 (diff) |
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
Diffstat (limited to 'StdLib/EfiSocketLib/Tcp6.c')
-rw-r--r-- | StdLib/EfiSocketLib/Tcp6.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/StdLib/EfiSocketLib/Tcp6.c b/StdLib/EfiSocketLib/Tcp6.c index 688a256f64..df70a94f4c 100644 --- a/StdLib/EfiSocketLib/Tcp6.c +++ b/StdLib/EfiSocketLib/Tcp6.c @@ -821,6 +821,8 @@ EslTcp6Listen ( // Mark the socket as configured
//
pSocket->bConfigured = TRUE;
+ Status = EFI_SUCCESS;
+ pSocket->errno = 0;
//
// All done
|