bugfix
This commit is contained in:
@@ -1450,12 +1450,14 @@ 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);
|
LOG_I(PHY,"Control channel ON for RU %d\n", ru->idx);
|
||||||
send_tick(ru);
|
|
||||||
|
|
||||||
while (!oai_exit) // Change the cond
|
while (!oai_exit) // Change the cond
|
||||||
{
|
{
|
||||||
msg_len = sizeof(RRU_CONFIG_msg_t); // TODO : check what should be the msg len
|
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,
|
if ((len = ru->ifdevice.trx_ctlrecv_func(&ru->ifdevice,
|
||||||
&rru_config_msg,
|
&rru_config_msg,
|
||||||
|
|||||||
Reference in New Issue
Block a user