This commit is contained in:
khadraou
2017-12-13 17:09:36 +01:00
parent 0dcc9e8284
commit e4a3a539a5
+3 -1
View File
@@ -1450,12 +1450,14 @@ static void* ru_thread_control( void* param ) {
ru->state = RU_IDLE;
LOG_I(PHY,"Control channel ON for RU %d\n", ru->idx);
send_tick(ru);
while (!oai_exit) // Change the cond
{
msg_len = sizeof(RRU_CONFIG_msg_t); // TODO : check what should be the msg len
if (ru->state == RU_IDLE)
send_tick(ru);
if ((len = ru->ifdevice.trx_ctlrecv_func(&ru->ifdevice,
&rru_config_msg,