srsEPC: Deleted unsued bool in ue context removal interface

This commit is contained in:
Pedro Alvarez 2020-06-25 14:51:16 +01:00
parent 163c078c42
commit 5746375b05
3 changed files with 4 additions and 5 deletions

View File

@ -45,7 +45,7 @@ public:
bool handle_initial_context_setup_response(const asn1::s1ap::init_context_setup_resp_s& in_ctxt_resp);
bool handle_ue_context_release_request(const asn1::s1ap::ue_context_release_request_s& ue_rel,
struct sctp_sndrcvinfo* enb_sri);
bool send_ue_context_release_command(nas* nas_ctx, bool send_release_bearers);
bool send_ue_context_release_command(nas* nas_ctx);
bool handle_ue_context_release_complete(const asn1::s1ap::ue_context_release_complete_s& rel_comp);
private:

View File

@ -625,7 +625,7 @@ bool s1ap::send_ue_context_release_command(uint32_t mme_ue_s1ap_id)
m_s1ap_log->error("Error finding NAS context when sending UE Context Setup Release\n");
return false;
}
m_s1ap_ctx_mngmt_proc->send_ue_context_release_command(nas_ctx, false);
m_s1ap_ctx_mngmt_proc->send_ue_context_release_command(nas_ctx);
return true;
}

View File

@ -261,7 +261,7 @@ bool s1ap_ctx_mngmt_proc::handle_ue_context_release_request(const asn1::s1ap::ue
// Send release context command to eNB, so that it can release it's bearers
if (ecm_ctx->state == ECM_STATE_CONNECTED) {
send_ue_context_release_command(nas_ctx, true);
send_ue_context_release_command(nas_ctx);
} else {
// No ECM Context to release
m_s1ap_log->info("UE is not ECM connected. No need to release S1-U. MME UE S1AP Id %d\n", mme_ue_s1ap_id);
@ -275,8 +275,7 @@ bool s1ap_ctx_mngmt_proc::handle_ue_context_release_request(const asn1::s1ap::ue
return true;
}
// On some circusntan
bool s1ap_ctx_mngmt_proc::send_ue_context_release_command(nas* nas_ctx, bool send_release_erabs)
bool s1ap_ctx_mngmt_proc::send_ue_context_release_command(nas* nas_ctx)
{
emm_ctx_t* emm_ctx = &nas_ctx->m_emm_ctx;
ecm_ctx_t* ecm_ctx = &nas_ctx->m_ecm_ctx;