diff --git a/net/iob/iob_alloc_qentry.c b/net/iob/iob_alloc_qentry.c index 04f076bc4e8..2aab1e6353b 100644 --- a/net/iob/iob_alloc_qentry.c +++ b/net/iob/iob_alloc_qentry.c @@ -146,7 +146,7 @@ static FAR struct iob_qentry_s *iob_allocwait_qentry(void) * complete the allocation without losing our count. */ - sem_post(sem); + sem_post(&g_qentry_sem); } } }