From 8d7c06b194ce6a147fc37540babb376df5292fc0 Mon Sep 17 00:00:00 2001 From: Cedric Roux <cedric.roux@eurecom.fr> Date: Mon, 13 Feb 2017 15:10:00 +0100 Subject: [PATCH] cleanup: setting status to ACTIVE is done below Don't do it twice. The logic is: if ndi changed or it's a first tx then round=0 and later: if round==0 then status=ACTIVE --- openair1/PHY/LTE_TRANSPORT/dci_tools.c | 1 - 1 file changed, 1 deletion(-) diff --git a/openair1/PHY/LTE_TRANSPORT/dci_tools.c b/openair1/PHY/LTE_TRANSPORT/dci_tools.c index b7c7b63110..44e832605e 100755 --- a/openair1/PHY/LTE_TRANSPORT/dci_tools.c +++ b/openair1/PHY/LTE_TRANSPORT/dci_tools.c @@ -4703,7 +4703,6 @@ int generate_ue_dlsch_params_from_dci(int frame, (dlsch0_harq->first_tx==1)) { // printf("Rate: setting round to zero (ndi %d, DCINdi %d,first_tx %d)\n",ndi,dlsch0_harq->DCINdi,dlsch0_harq->first_tx); dlsch0_harq->round=0; - dlsch0_harq->status = ACTIVE; dlsch0_harq->DCINdi = ndi; dlsch[0]->harq_ack[subframe].send_harq_status = 1; -- GitLab