Fix: Check for node type in L2_interface only when not UE
This commit is contained in:
@@ -108,11 +108,13 @@ rrc_data_req(
|
|||||||
ctxt_pP->instance,
|
ctxt_pP->instance,
|
||||||
message_p);
|
message_p);
|
||||||
LOG_I(RRC,"sent RRC_DCCH_DATA_REQ to TASK_PDCP_ENB\n");
|
LOG_I(RRC,"sent RRC_DCCH_DATA_REQ to TASK_PDCP_ENB\n");
|
||||||
|
#ifndef UETARGET
|
||||||
/* Hack: only trigger PDCP if in CU, otherwise it is triggered by RU threads
|
/* Hack: only trigger PDCP if in CU, otherwise it is triggered by RU threads
|
||||||
* Ideally, PDCP would not neet to be triggered like this but react to ITTI
|
* Ideally, PDCP would not neet to be triggered like this but react to ITTI
|
||||||
* messages automatically */
|
* messages automatically */
|
||||||
if (NODE_IS_CU(RC.rrc[ctxt_pP->module_id]->node_type))
|
if (NODE_IS_CU(RC.rrc[ctxt_pP->module_id]->node_type))
|
||||||
pdcp_run(ctxt_pP);
|
pdcp_run(ctxt_pP);
|
||||||
|
#endif
|
||||||
|
|
||||||
return TRUE; // TODO should be changed to a CNF message later, currently RRC lite does not used the returned value anyway.
|
return TRUE; // TODO should be changed to a CNF message later, currently RRC lite does not used the returned value anyway.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user