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
This commit is contained in:
knopp
2015-06-23 15:58:34 +00:00
parent 90231b57ad
commit d26c58940d
@@ -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