From 127fa9ae377f59f564d0085fd9525ec3d482fcef Mon Sep 17 00:00:00 2001 From: lukashov Date: Wed, 16 Mar 2016 18:10:07 +0100 Subject: [PATCH] Fixing bug in modulation_SIC: initially setting re_allocated to 0. --- openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c b/openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c index 4fd659186d..30c8b69197 100644 --- a/openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c +++ b/openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c @@ -1621,7 +1621,7 @@ int dlsch_modulation_SIC(mod_sym_t **sic_buffer, uint8_t harq_pid = dlsch0->current_harq_pid; LTE_DL_eNB_HARQ_t *dlsch0_harq = dlsch0->harq_processes[harq_pid]; LTE_DL_eNB_HARQ_t *dlsch1_harq; //= dlsch1->harq_processes[harq_pid]; - uint32_t i,jj,re_allocated; + uint32_t i,jj,re_allocated=0; uint16_t l,rb,re_offset; uint32_t *rb_alloc = dlsch0_harq->rb_alloc; uint8_t mod_order0 = get_Qm(dlsch0_harq->mcs);