Merged in hardlulz/modem-3.0-nuttx/fix-sem-EINTR (pull request #603)

Added ECANCELED condition to DEBUGASSERT-s checking sem_wait result

Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
Dmitriy Linikov
2018-02-20 18:24:53 +00:00
committed by Gregory Nutt
parent 9e8332e5c8
commit a8c58607e9
61 changed files with 122 additions and 126 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ void icmp_free(FAR struct icmp_conn_s *conn)
* the wait was awakened by a signal.
*/
DEBUGASSERT(ret == -EINTR);
DEBUGASSERT(ret == -EINTR || ret == -ECANCELED);
}
UNUSED(ret);