Networking: Move net/inet/net_monitor.c to net/tcp/tcp_monitor.c in preparation for design change to fix monitoring of duplicated sockets.

This commit is contained in:
Gregory Nutt
2017-08-29 08:40:13 -06:00
parent 421638e851
commit 92f44c5607
17 changed files with 95 additions and 104 deletions
+3 -1
View File
@@ -152,7 +152,9 @@ int work_queue(int qid, FAR struct work_s *work, worker_t worker,
{
/* Cancel any pending work in the work stucture */
work_cancel(qid, work);
(void)work_cancel(qid, work);
/* Then queue the new work */
return work_qqueue(&g_usrwork, work, worker, arg, delay);
}