Commit d26c5894 authored by knopp's avatar knopp

flagged an error condition in rx_ulsch which causes a divide by zero in...

flagged an error condition in rx_ulsch which causes a divide by zero in signal_energy_nodc, function now returns with no result

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7643 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 90231b57
......@@ -1616,6 +1616,11 @@ void rx_ulsch(PHY_VARS_eNB *phy_vars_eNB,
rx_power_correction = 1;
if (ulsch[UE_id]->harq_processes[harq_pid]->nb_rb == 0) {
LOG_E(PHY,"PUSCH (%d/%x) nb_rb=0!\n", harq_pid,ulsch[UE_id]->rnti,harq_pid);
return;
}
for (l=0; l<(frame_parms->symbols_per_tti-ulsch[UE_id]->harq_processes[harq_pid]->srs_active); l++) {
#ifdef DEBUG_ULSCH
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment