Check type of node using NODE_IS_CU/DU/MONOLITHIC macros

This commit is contained in:
Robert Schmidt
2019-03-26 13:15:02 +01:00
parent f0fced85f2
commit 024007716a
11 changed files with 73 additions and 118 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ mac_rrc_data_ind(
{
if ( RC.rrc[module_idP]->node_type == ngran_eNB_DU) {
if (NODE_IS_DU(RC.rrc[module_idP]->node_type)) {
LOG_W(RRC,"[DU %d][RAPROC] Received SDU for CCCH on SRB %d length %d for UE id %d RNTI %x \n",
module_idP, srb_idP, sdu_lenP, UE_id, rntiP);