From 42aa5c449943ce1e5066c28f799dd2d22f8b4b93 Mon Sep 17 00:00:00 2001 From: David Rupprecht Date: Wed, 27 Jan 2021 19:45:31 +0100 Subject: [PATCH] Fixed order to set c1 ind ul_dcch_msg --- srsue/src/stack/rrc/rrc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srsue/src/stack/rrc/rrc.cc b/srsue/src/stack/rrc/rrc.cc index 18391d58e..c0338e14d 100644 --- a/srsue/src/stack/rrc/rrc.cc +++ b/srsue/src/stack/rrc/rrc.cc @@ -1001,10 +1001,10 @@ void rrc::send_rrc_con_reconfig_complete(bool contains_nr_complete) { rrc_log->debug("Preparing RRC Connection Reconfig Complete\n"); - ul_dcch_msg_s ul_dcch_msg; - ul_dcch_msg.msg.c1().rrc_conn_recfg_complete().rrc_transaction_id = transaction_id; + ul_dcch_msg_s ul_dcch_msg; rrc_conn_recfg_complete_r8_ies_s* rrc_conn_recfg_complete_r8 = &ul_dcch_msg.msg.set_c1().set_rrc_conn_recfg_complete().crit_exts.set_rrc_conn_recfg_complete_r8(); + ul_dcch_msg.msg.c1().rrc_conn_recfg_complete().rrc_transaction_id = transaction_id; if (contains_nr_complete == true) { rrc_log->debug("Preparing RRC Connection Reconfig Complete with NR Complete\n");