From 0320d475e906c71a93887379f3580bb9a3b061a2 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Tue, 6 Nov 2018 11:37:19 +0000 Subject: [PATCH] Fix Uninitialized QoS options in attach accept. --- srsepc/src/mme/nas.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srsepc/src/mme/nas.cc b/srsepc/src/mme/nas.cc index dff478c6b..a14b96f73 100644 --- a/srsepc/src/mme/nas.cc +++ b/srsepc/src/mme/nas.cc @@ -1253,6 +1253,8 @@ nas::pack_attach_accept(srslte::byte_buffer_t *nas_buffer) act_def_eps_bearer_context_req.transaction_id_present = false; //set eps_qos act_def_eps_bearer_context_req.eps_qos.qci = m_esm_ctx[5].qci; + act_def_eps_bearer_context_req.eps_qos.br_present = false; + act_def_eps_bearer_context_req.eps_qos.br_ext_present = false; //set apn strncpy(act_def_eps_bearer_context_req.apn.apn, m_apn.c_str(), LIBLTE_STRING_LEN);