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
This commit is contained in:
Cedric Roux
2017-02-13 15:10:00 +01:00
parent 4d8e41100a
commit 8d7c06b194
-1
View File
@@ -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;