diff --git a/openair2/ENB_APP/flexran_agent_common.c b/openair2/ENB_APP/flexran_agent_common.c index d3c0a89182384545c32c7dd64435c1f20e5fe16b..ac18f160697d8b5ba69e971187a2efe181d3369b 100644 --- a/openair2/ENB_APP/flexran_agent_common.c +++ b/openair2/ENB_APP/flexran_agent_common.c @@ -871,7 +871,7 @@ int flexran_agent_rrc_trigger_handover(mid_t mod_id, const void *params, Protoco rnti_found = 1; // Call the proper wrapper in FlexRAN API if (flexran_call_rrc_trigger_handover(mod_id, ho_command->rnti, ho_command->target_phy_cell_id) < 0) { - LOG_E(FLEXRAN_AGENT, "Error in handovering user %d\n", i); + LOG_E(FLEXRAN_AGENT, "Error in handovering user %d/RNTI %x\n", i, rnti); } break; } diff --git a/openair2/RRC/LTE/rrc_eNB.c b/openair2/RRC/LTE/rrc_eNB.c index 58f5ed53a79a487f8d040fb3d3d67a40b714ac16..c4979051af8086a66aba146b91a94a51d7c1f954 100644 --- a/openair2/RRC/LTE/rrc_eNB.c +++ b/openair2/RRC/LTE/rrc_eNB.c @@ -4842,14 +4842,18 @@ int cell_found = 0; /* Check if eNB id was found */ - if (!cell_found) + if (!cell_found) { + LOG_E(RRC, "%s(): cannot find target eNB with phyCellId %d\n", __func__, target_cell_id); return -1; + } /* Handover process is following */ /* if X2AP is disabled, do nothing */ - if (!is_x2ap_enabled()) + if (!is_x2ap_enabled()) { + LOG_E(RRC, "X2 is disabled\n"); return -1; + } LOG_D(RRC, "Handover is triggered by FlexRAN controller...\n");