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
+1
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;
}