diff --git a/lib/src/phy/ue/ue_dl.c b/lib/src/phy/ue/ue_dl.c index 0fc227782..393a6ee12 100644 --- a/lib/src/phy/ue/ue_dl.c +++ b/lib/src/phy/ue/ue_dl.c @@ -628,6 +628,7 @@ static int find_dl_dci_type_crnti(srslte_ue_dl_t* q, if (cfg->cfg.tm > SRSLTE_TM8) { ERROR("Searching DL CRNTI: Invalid TM=%d\n", cfg->cfg.tm + 1); + return SRSLTE_ERROR; } for (int f = 0; f < 2; f++) {