From 5c5c8c4eb2d50e7441644d45d376736ffbd06b84 Mon Sep 17 00:00:00 2001 From: khadraou Date: Wed, 13 Dec 2017 11:40:37 +0100 Subject: [PATCH] ru_thread_control: still missing stop ru_thread; not tested --- targets/RT/USER/lte-ru.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/RT/USER/lte-ru.c b/targets/RT/USER/lte-ru.c index f7ce527529..df056f209d 100644 --- a/targets/RT/USER/lte-ru.c +++ b/targets/RT/USER/lte-ru.c @@ -1654,7 +1654,7 @@ static void* ru_thread( void* param ) { // wait to be woken up - if (wait_on_condition(&ru->proc.mutex_ru_thread,&ru->proc.cond_ru_thread,&ru->proc.instance_cnt_ru,"ru_thread")<0) break; + if (wait_on_condition(&ru->proc.mutex_ru,&ru->proc.cond_ru_thread,&ru->proc.instance_cnt_ru,"ru_thread")<0) break; // Start RF device if any