From db15f43a772d98dc0c1fe24d12186e3c7ee96c40 Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Mon, 24 Aug 2020 13:30:52 +0100 Subject: [PATCH] set reestablishment cause correctly on handover failure --- srsue/src/stack/rrc/rrc.cc | 1 - srsue/src/stack/rrc/rrc_procedures.cc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/srsue/src/stack/rrc/rrc.cc b/srsue/src/stack/rrc/rrc.cc index a9649e5e4..be729733b 100644 --- a/srsue/src/stack/rrc/rrc.cc +++ b/srsue/src/stack/rrc/rrc.cc @@ -919,7 +919,6 @@ bool rrc::con_reconfig(const rrc_conn_recfg_s& reconfig) void rrc::ho_failed() { ho_handler.trigger(ho_proc::t304_expiry{}); - start_con_restablishment(reest_cause_e::ho_fail); } // Reconfiguration failure or Section 5.3.5.5 diff --git a/srsue/src/stack/rrc/rrc_procedures.cc b/srsue/src/stack/rrc/rrc_procedures.cc index 1e1950184..0f736a1f9 100644 --- a/srsue/src/stack/rrc/rrc_procedures.cc +++ b/srsue/src/stack/rrc/rrc_procedures.cc @@ -1530,7 +1530,7 @@ void rrc::ho_proc::then(const srslte::proc_state_t& result) { Info("Finished HO Preparation %s\n", result.is_success() ? "successfully" : "with error"); if (result.is_error()) { - rrc_ptr->con_reconfig_failed(); + rrc_ptr->start_con_restablishment(reest_cause_e::ho_fail); } }