From 94bb1912b7b180f04813d63bb5271af635cbecd7 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Wed, 13 Jun 2018 11:12:53 +0200 Subject: [PATCH] Fix distributed ngap not printing in dci info --- lib/src/phy/phch/dci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/phy/phch/dci.c b/lib/src/phy/phch/dci.c index a5de451ce..0a950b001 100644 --- a/lib/src/phy/phch/dci.c +++ b/lib/src/phy/phch/dci.c @@ -381,7 +381,7 @@ uint32_t srslte_dci_dl_info(char *info_str, uint32_t len, srslte_ra_dl_dci_t *dc dci_msg->type2_alloc.riv, dci_msg->type2_alloc.RB_start, dci_msg->type2_alloc.RB_start+dci_msg->type2_alloc.L_crb-1, dci_msg->type2_alloc.mode==SRSLTE_RA_TYPE2_LOC?"local":"dist"); - if (dci_msg->type2_alloc.mode==SRSLTE_RA_TYPE2_LOC) { + if (dci_msg->type2_alloc.mode==SRSLTE_RA_TYPE2_DIST) { n += snprintf(&info_str[n], len-n, ", ngap=%s, nprb1a=%d", dci_msg->type2_alloc.n_gap==SRSLTE_RA_TYPE2_NG1?"ng1":"ng2", dci_msg->type2_alloc.n_prb1a==SRSLTE_RA_TYPE2_NPRB1A_2?2:3);