set reestablishment cause correctly on handover failure

master
Francisco Paisana 4 years ago
parent b1670c005b
commit db15f43a77

@ -919,7 +919,6 @@ bool rrc::con_reconfig(const rrc_conn_recfg_s& reconfig)
void rrc::ho_failed() void rrc::ho_failed()
{ {
ho_handler.trigger(ho_proc::t304_expiry{}); ho_handler.trigger(ho_proc::t304_expiry{});
start_con_restablishment(reest_cause_e::ho_fail);
} }
// Reconfiguration failure or Section 5.3.5.5 // Reconfiguration failure or Section 5.3.5.5

@ -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"); Info("Finished HO Preparation %s\n", result.is_success() ? "successfully" : "with error");
if (result.is_error()) { if (result.is_error()) {
rrc_ptr->con_reconfig_failed(); rrc_ptr->start_con_restablishment(reest_cause_e::ho_fail);
} }
} }

Loading…
Cancel
Save