From a173c4f222f74b76b4f76cb0bda16cebd90c7a0f Mon Sep 17 00:00:00 2001 From: Francisco Date: Thu, 18 Nov 2021 16:43:26 +0000 Subject: [PATCH] nr,gnb,rrc: set nas message presence flag only in case there is a pending NAS pdu --- srsgnb/src/stack/rrc/rrc_nr_ue.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/srsgnb/src/stack/rrc/rrc_nr_ue.cc b/srsgnb/src/stack/rrc/rrc_nr_ue.cc index 1d29d44e6..a1ff80e10 100644 --- a/srsgnb/src/stack/rrc/rrc_nr_ue.cc +++ b/srsgnb/src/stack/rrc/rrc_nr_ue.cc @@ -1035,6 +1035,7 @@ void rrc_nr::ue::send_rrc_reconfiguration() ies.non_crit_ext.ded_nas_msg_list[i].resize(nas_pdu_queue[i]->size()); memcpy(ies.non_crit_ext.ded_nas_msg_list[i].data(), nas_pdu_queue[i]->data(), nas_pdu_queue[i]->size()); } + ies.non_crit_ext.ded_nas_msg_list_present = nas_pdu_queue.size() > 0; nas_pdu_queue.clear(); // Update lower layers