forked from apache/nuttx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/tcp_timer: fix tcp_timer idel loop and transmit bug
1. Tcp will idel loop by tcp_timer when have no packet to send. This will cause low-power devices to be frequently woken up. 2. We should add tcp_timer when timer has been canceled and have packet to send. Signed-off-by: meijian <[email protected]>
- Loading branch information
1 parent
6071102
commit ae08ccd
Showing
2 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters