From b1103730cef899bc9fcae8df88499d1c9da45e97 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 29 Mar 2007 14:22:29 +0000 Subject: Wrong task state git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@175 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/sched/mq_timedsend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuttx/sched') diff --git a/nuttx/sched/mq_timedsend.c b/nuttx/sched/mq_timedsend.c index 710df84d3..a35edb9f8 100644 --- a/nuttx/sched/mq_timedsend.c +++ b/nuttx/sched/mq_timedsend.c @@ -109,7 +109,7 @@ static void mq_sndtimeout(int argc, uint32 pid, ...) * punch and already changed the task's state. */ - if (wtcb && wtcb->task_state == TSTATE_WAIT_MQNOTEMPTY) + if (wtcb && wtcb->task_state == TSTATE_WAIT_MQNOTFULL) { /* Mark the errno value for the thread. */ -- cgit v1.2.3