From 936bebcfd70dd671db1568e035fb7bc48d0e8989 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Sun, 18 Apr 2021 15:27:56 +0200 Subject: [PATCH] rrc_nr_utils: fix extraction of HARQ processes from ASN1 reconfig --- lib/src/asn1/rrc_nr_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/asn1/rrc_nr_utils.cc b/lib/src/asn1/rrc_nr_utils.cc index 0692cffcd..3c6e42fa6 100644 --- a/lib/src/asn1/rrc_nr_utils.cc +++ b/lib/src/asn1/rrc_nr_utils.cc @@ -70,7 +70,7 @@ bool make_mac_dl_harq_cfg_nr_t(const pdsch_serving_cell_cfg_s& asn1_type, dl_har { dl_harq_cfg_nr_t dl_harq_cfg_nr; if (asn1_type.nrof_harq_processes_for_pdsch_present) { - dl_harq_cfg_nr.nof_procs = asn1_type.nrof_harq_processes_for_pdsch; + dl_harq_cfg_nr.nof_procs = asn1_type.nrof_harq_processes_for_pdsch.to_number(); } else { asn1::log_warning("Option nrof_harq_processes_for_pdsch not present"); return false;