Revision: 15355
http://sourceforge.net/p/edk2/code/15355
Author: lpleahy
Date: 2014-03-20 22:05:51 +0000 (Thu, 20 Mar 2014)
Log Message:
-----------
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: [email protected]
Reviewed-by: [email protected]
Modified Paths:
--------------
trunk/edk2/StdLib/EfiSocketLib/Socket.c
Modified: trunk/edk2/StdLib/EfiSocketLib/Socket.c
===================================================================
--- trunk/edk2/StdLib/EfiSocketLib/Socket.c 2014-03-20 17:12:30 UTC (rev
15354)
+++ trunk/edk2/StdLib/EfiSocketLib/Socket.c 2014-03-20 22:05:51 UTC (rev
15355)
@@ -1834,10 +1834,9 @@
case SOCKET_STATE_CONNECTED:
//
- // Already connected
+ // Connected
//
- pSocket->errno = EISCONN;
- Status = EFI_ALREADY_STARTED;
+ Status = EFI_SUCCESS;
break;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits