From 88f56721eefe5bded5227f3dc6b46c0539ffa109 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Wed, 25 Mar 2020 18:01:01 +0000 Subject: [PATCH] Fix issue where connection was still setup when no EPC was connected. --- srsenb/src/stack/rrc/rrc.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/srsenb/src/stack/rrc/rrc.cc b/srsenb/src/stack/rrc/rrc.cc index ffb45686d..59b809bd8 100644 --- a/srsenb/src/stack/rrc/rrc.cc +++ b/srsenb/src/stack/rrc/rrc.cc @@ -1200,6 +1200,7 @@ void rrc::ue::handle_rrc_con_req(rrc_conn_request_s* msg) if (not parent->s1ap->is_mme_connected()) { parent->rrc_log->error("MME isn't connected. Sending Connection Reject\n"); send_connection_reject(); + return; } rrc_conn_request_r8_ies_s* msg_r8 = &msg->crit_exts.rrc_conn_request_r8();