Forgot to remove some debug instrumentation in the last commit
This commit is contained in:
parent
57e8c1a11d
commit
46fc574f0f
@ -239,7 +239,6 @@ void tcp_rexmit(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn,
|
||||
hdrlen = IPv6_HDRLEN;
|
||||
}
|
||||
#endif /* CONFIG_NET_IPv6 */
|
||||
lldbg("hdrlen=%d\n", hdrlen); // REMOVE ME
|
||||
|
||||
/* If the application has data to be sent, or if the incoming packet had
|
||||
* new data in it, we must send out a packet.
|
||||
|
@ -305,7 +305,6 @@ static void tcp_sendcommon(FAR struct net_driver_s *dev,
|
||||
FAR struct tcp_hdr_s *tcp)
|
||||
{
|
||||
/* Copy the IP address into the IPv6 header */
|
||||
lldbg("d_len=%d\n", dev->d_len); // REMOVE ME
|
||||
|
||||
#ifdef CONFIG_NET_IPv6
|
||||
#ifdef CONFIG_NET_IPv4
|
||||
@ -387,7 +386,6 @@ void tcp_send(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn,
|
||||
uint16_t flags, uint16_t len)
|
||||
{
|
||||
FAR struct tcp_hdr_s *tcp = tcp_header(dev);
|
||||
lldbg("sndlen=%d len=%d d_len=%d\n", dev->d_sndlen, len, dev->d_len); // REMOVE ME
|
||||
|
||||
tcp->flags = flags;
|
||||
dev->d_len = len;
|
||||
|
@ -350,7 +350,6 @@ static uint16_t psock_send_interrupt(FAR struct net_driver_s *dev,
|
||||
FAR sq_entry_t *entry;
|
||||
FAR sq_entry_t *next;
|
||||
uint32_t ackno;
|
||||
lldbg("TCP_ACKDATA\n"); // REMOVE ME
|
||||
|
||||
/* Get the offset address of the TCP header */
|
||||
|
||||
@ -656,7 +655,6 @@ lldbg("TCP_ACKDATA\n"); // REMOVE ME
|
||||
if (dev->d_sndlen > 0)
|
||||
{
|
||||
/* Another thread has beat us sending data, wait for the next poll */
|
||||
lldbg("d_sndlen > 0, ABORTING\n"); // REMOVE ME
|
||||
|
||||
return flags;
|
||||
}
|
||||
@ -793,9 +791,6 @@ lldbg("d_sndlen > 0, ABORTING\n"); // REMOVE ME
|
||||
|
||||
flags &= ~TCP_POLL;
|
||||
}
|
||||
else { // REMOVE ME
|
||||
lldbg("NOT sending!!!\n"); // REMOVE ME
|
||||
} // REMOVE ME
|
||||
}
|
||||
|
||||
/* Continue waiting */
|
||||
|
Loading…
Reference in New Issue
Block a user