From 97b3d1a5cda6012e7ee9489b239872a9df6466cc Mon Sep 17 00:00:00 2001 From: Laurent THOMAS Date: Mon, 9 May 2022 10:51:21 +0200 Subject: [PATCH] fix mutex not initialised in ul decoder --- openair1/SIMULATION/NR_PHY/ulsim.c | 1 + 1 file changed, 1 insertion(+) diff --git a/openair1/SIMULATION/NR_PHY/ulsim.c b/openair1/SIMULATION/NR_PHY/ulsim.c index 2a8bfb88b2..b366bfee51 100644 --- a/openair1/SIMULATION/NR_PHY/ulsim.c +++ b/openair1/SIMULATION/NR_PHY/ulsim.c @@ -701,6 +701,7 @@ int main(int argc, char **argv) gNB->ofdm_offset_divisor = UINT_MAX; gNB->threadPool = (tpool_t*)malloc(sizeof(tpool_t)); gNB->respDecode = (notifiedFIFO_t*) malloc(sizeof(notifiedFIFO_t)); + initNotifiedFIFO(gNB->respDecode); char tp_param[80]; if (threadCnt>0) sprintf(tp_param,"-1");