]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix TCP4/TCP6 connections. Connections were transitioning into the connected state...
authorleroy.p.leahy <leroy.p.leahy@intel.com>
Thu, 20 Mar 2014 22:05:51 +0000 (22:05 +0000)
committerlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 20 Mar 2014 22:05:51 +0000 (22:05 +0000)
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

StdLib/EfiSocketLib/Socket.c

index c7084a1a09646994edd6a99eb01c7c84b3f17e45..49c288d90a4a8d92152f8c5e049bba7a38ce1498 100644 (file)
@@ -1834,10 +1834,9 @@ EslSocketConnect (
 \r
       case SOCKET_STATE_CONNECTED:\r
         //\r
-        //  Already connected\r
+        //  Connected\r
         //\r
-        pSocket->errno = EISCONN;\r
-        Status = EFI_ALREADY_STARTED;\r
+        Status = EFI_SUCCESS;\r
         break;\r
       }\r
 \r