Terminate application if the eNB cannot connect to the MME after max s1 retries is reached

This commit is contained in:
Pedro Alvarez 2021-07-05 19:21:26 +01:00
parent e5a83474cc
commit 99e8ddefee
1 changed files with 1 additions and 0 deletions

View File

@ -279,6 +279,7 @@ void s1ap::s1_setup_proc_t::then(const srsran::proc_state_t& result)
s1ap_ptr->mme_connect_timer.run();
if (connect_count > s1ap_ptr->args.max_s1_setup_retries) {
s1ap_ptr->alarms_channel("s1apError");
srsran_terminate("Error connecting to MME");
}
// Try again with in 10 seconds
} else {