Commit 04e37e9a authored by khadraou's avatar khadraou

bugfix

parent c935816d
...@@ -1445,7 +1445,9 @@ static void* ru_thread_control( void* param ) { ...@@ -1445,7 +1445,9 @@ static void* ru_thread_control( void* param ) {
} }
ru->state = RU_IDLE; ru->state = RU_IDLE;
LOG_I(PHY,"Control channel ON for RU %d\n", ru->idx);
while (!oai_exit) // Change the cond while (!oai_exit) // Change the cond
{ {
...@@ -1454,7 +1456,7 @@ static void* ru_thread_control( void* param ) { ...@@ -1454,7 +1456,7 @@ static void* ru_thread_control( void* param ) {
if ((len = ru->ifdevice.trx_ctlrecv_func(&ru->ifdevice, if ((len = ru->ifdevice.trx_ctlrecv_func(&ru->ifdevice,
&rru_config_msg, &rru_config_msg,
msg_len))<0) { msg_len))<0) {
LOG_I(PHY,"RAU Control channel for RU %d\n", ru->idx); LOG_I(PHY,"Waiting msg for RU %d\n", ru->idx);
} }
else else
{ {
...@@ -1596,16 +1598,15 @@ static void* ru_thread_control( void* param ) { ...@@ -1596,16 +1598,15 @@ static void* ru_thread_control( void* param ) {
} }
break; break;
} } // switch
} } //else
}
}//while
} }
static void* ru_thread( void* param ) { static void* ru_thread( void* param ) {
static int ru_thread_status; static int ru_thread_status;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment