From 49186e2b1f000a9f6c3f51aa3eb2759a421ff7bb Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Mon, 5 Oct 2020 15:02:53 +0100 Subject: [PATCH] Fix NCC set in HO command message for intra-enb handover --- srsenb/src/stack/rrc/rrc_mobility.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsenb/src/stack/rrc/rrc_mobility.cc b/srsenb/src/stack/rrc/rrc_mobility.cc index e7bfffcf8..f49e0054e 100644 --- a/srsenb/src/stack/rrc/rrc_mobility.cc +++ b/srsenb/src/stack/rrc/rrc_mobility.cc @@ -872,7 +872,7 @@ void rrc::ue::rrc_mobility::fill_mobility_reconf_common(asn1::rrc::dl_dcch_msg_s auto& intralte = recfg_r8.security_cfg_ho.handov_type.set_intra_lte(); intralte.security_algorithm_cfg_present = false; intralte.key_change_ind = false; - intralte.next_hop_chaining_count = 0; + intralte.next_hop_chaining_count = rrc_ue->ue_security_cfg.get_ncc(); recfg_r8.rr_cfg_ded_present = true; recfg_r8.rr_cfg_ded.phys_cfg_ded_present = true;