mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Add support for the Atollic Pro toolchain; Change extension .ihx to .hex to be better compatible with most of the rest of the world
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4431 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -179,13 +179,9 @@ void uip_tcpinput(struct uip_driver_s *dev)
|
||||
/* The connection structure was successfully allocated. Now see if
|
||||
* there is an application waiting to accept the connection (or at
|
||||
* least queue it it for acceptance).
|
||||
*
|
||||
* TCP state machine should move to the ESTABLISHED state only after
|
||||
* it has received ACK from the host.
|
||||
*/
|
||||
|
||||
conn->crefs = 1;
|
||||
|
||||
if (uip_accept(dev, conn, tmp16) != OK)
|
||||
{
|
||||
/* No, then we have to give the connection back */
|
||||
@@ -194,6 +190,15 @@ void uip_tcpinput(struct uip_driver_s *dev)
|
||||
uip_tcpfree(conn);
|
||||
conn = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* TCP state machine should move to the ESTABLISHED state only after
|
||||
* it has received ACK from the host. This needs to be investigated
|
||||
* further.
|
||||
*/
|
||||
|
||||
conn->tcpstateflags = UIP_ESTABLISHED;
|
||||
}
|
||||
}
|
||||
|
||||
if (!conn)
|
||||
|
||||
Reference in New Issue
Block a user