fix: warn if no PDSCH active

I doubt the case should happen. If it does, let's print an
error, will ease debugging.
This commit is contained in:
Cedric Roux
2017-02-11 12:21:05 +01:00
parent a75cfd9073
commit 80f47817d9
@@ -163,6 +163,10 @@ int rx_pdsch(PHY_VARS_UE *ue,
dlsch1_harq = NULL;
codeword_TB0 = -1;
}
else {
LOG_E(PHY,"[UE][FATAL] Frame %d subframe %d: no active DLSCH\n",ue->proc.proc_rxtx[0].frame_rx,subframe);
return(-1);
}
beamforming_mode = ue->transmission_mode[eNB_id]<7?0:ue->transmission_mode[eNB_id];
break;