bugfix
This commit is contained in:
@@ -1591,6 +1591,14 @@ static void* ru_thread_control( void* param ) {
|
|||||||
exit_fun( "ERROR pthread_cond_signal" );
|
exit_fun( "ERROR pthread_cond_signal" );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LOG_I(PHY, "Signaling main thread that RU %d is ready\n",ru->idx);
|
||||||
|
pthread_mutex_lock(&RC.ru_mutex);
|
||||||
|
RC.ru_mask &= ~(1<<ru->idx);
|
||||||
|
pthread_cond_signal(&RC.ru_cond);
|
||||||
|
pthread_mutex_unlock(&RC.ru_mutex);
|
||||||
|
|
||||||
|
wait_sync("ru_thread");
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
LOG_I(PHY,"RRU not ready, cannot start\n");
|
LOG_I(PHY,"RRU not ready, cannot start\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user