6LoWPAN: TCP send logic was returning a failure in one case when, in fact, the send was successful.

This commit is contained in:
Gregory Nutt 2017-06-30 16:07:51 -06:00
parent 7de86f1ab4
commit ae1771454a
2 changed files with 5 additions and 1 deletions

View File

@ -682,7 +682,10 @@ Configurations
uncompressed UDP packet has a bad checksum.
This required a change to assure that the destination IPv6 address
is not elided in the case of the star endpoint configuration.
is not elided in the case of the star endpoint configuration. After
some additional fixes for byte ordering in 16-bit and 64-bit
compressed IPv6 addresses, the all tests are working as expectedd:
TCP, UDP, Telnet.
nsh:

View File

@ -417,6 +417,7 @@ static uint16_t tcp_send_interrupt(FAR struct net_driver_s *dev,
* actually sent.
*/
sinfo->s_result = sinfo->s_sent;
goto end_wait;
}