From 48bd667b672a07475687e19754b83b7ba11ec635 Mon Sep 17 00:00:00 2001 From: yilmazt Date: Fri, 17 Aug 2018 15:08:09 +0200 Subject: [PATCH] Minor fix --- openair1/PHY/NR_TRANSPORT/nr_dci.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/openair1/PHY/NR_TRANSPORT/nr_dci.c b/openair1/PHY/NR_TRANSPORT/nr_dci.c index 5496ca13fe..b004ccb12b 100644 --- a/openair1/PHY/NR_TRANSPORT/nr_dci.c +++ b/openair1/PHY/NR_TRANSPORT/nr_dci.c @@ -204,10 +204,8 @@ uint8_t nr_generate_dci_top(NR_gNB_PDCCH pdcch_vars, /// DCI payload processing //channel coding #ifdef DEBUG_POLAR_PARAMS - nr_polar_init(&nrPolar_params, NR_POLAR_DCI_MESSAGE_TYPE, dci_alloc.size, pdcch_params.aggregation_level); - t_nrPolar_paramsPtr currentPtr = nr_polar_params(nrPolar_params, - NR_POLAR_DCI_MESSAGE_TYPE, - dci_alloc.size); + nr_polar_init(nrPolar_params, NR_POLAR_DCI_MESSAGE_TYPE, dci_alloc.size, dci_alloc.L); + t_nrPolar_paramsPtr currentPtr = nr_polar_params(nrPolar_params, NR_POLAR_DCI_MESSAGE_TYPE,dci_alloc.size); uint8_t *encoderInput = malloc(sizeof(uint8_t) * dci_alloc.size); uint8_t *encoderOutput = malloc(sizeof(uint8_t) * currentPtr->encoderLength);