set reestablishment cause correctly on handover failure

This commit is contained in:
Francisco Paisana 2020-08-24 13:30:52 +01:00
parent b1670c005b
commit db15f43a77
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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);
}
}