fix: do not access array before check
This commit is contained in:
@@ -4637,13 +4637,13 @@ int generate_ue_dlsch_params_from_dci(int frame,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
dlsch0_harq = dlsch[0]->harq_processes[harq_pid];
|
|
||||||
|
|
||||||
if (harq_pid>=8) {
|
if (harq_pid>=8) {
|
||||||
LOG_E(PHY,"Format 1: harq_pid=%d >= 8\n", harq_pid);
|
LOG_E(PHY,"Format 1: harq_pid=%d >= 8\n", harq_pid);
|
||||||
return(-1);
|
return(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dlsch0_harq = dlsch[0]->harq_processes[harq_pid];
|
||||||
|
|
||||||
if((mcs>28) && (dlsch0_harq->round == 0) )
|
if((mcs>28) && (dlsch0_harq->round == 0) )
|
||||||
{
|
{
|
||||||
// DCI false detection
|
// DCI false detection
|
||||||
|
|||||||
Reference in New Issue
Block a user