From 4dc9d22f166c73f0f678033f1d6326ee6847b6d9 Mon Sep 17 00:00:00 2001 From: Gokul Srinivasan Date: Mon, 7 Jun 2021 22:41:08 +0000 Subject: [PATCH] bugfix in gNB_scheduler_uci.c --- openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c index b667c8d977..46ccc8ac53 100644 --- a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c +++ b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c @@ -1128,8 +1128,10 @@ int nr_acknack_scheduling(int mod_id, __func__, pucch->csi_bits); /* if the currently allocated PUCCH of this UE is full, allocate it */ - if (NFAPI_MODE == NFAPI_MODE_VNF) - pucch->sr_flag = 1; pucch->dai_c = 1; + if (NFAPI_MODE == NFAPI_MODE_VNF){ + pucch->sr_flag = 1; + pucch->dai_c = 1; + } if (pucch->dai_c == 2) { /* advance the UL slot information in PUCCH by one so we won't schedule in