From 7c27e09fcdb2a5c9feef1854c3193dcd9aac122c Mon Sep 17 00:00:00 2001
From: Wang Tsu-Han <wangts@eurecom.fr>
Date: Thu, 14 Dec 2017 15:38:02 +0100
Subject: [PATCH] Bug fix for coding worker thread

---
 openair1/PHY/LTE_TRANSPORT/dlsch_coding.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/openair1/PHY/LTE_TRANSPORT/dlsch_coding.c b/openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
index 5438dd5f9f..c9b1683cb2 100644
--- a/openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
+++ b/openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
@@ -637,14 +637,13 @@ void *te_thread2(void *param) {
 
   PHY_VARS_eNB *eNB              = ((te_params *)param)->eNB;
   eNB_proc_t *proc               = &eNB->proc;
-  time_stats_t *te_wakeup_stats1 = &eNB->dlsch_turbo_encoding_wakeup_stats1;
   while (!oai_exit) {
 
 
     if (wait_on_condition(&proc->mutex_te[2],&proc->cond_te[2],&proc->instance_cnt_te[2],"te thread 2")<0) break;
 
     //stop_meas(te_wakeup_stats1);
-    dlsch_encoding_2threads1((te_params*)param);
+    dlsch_encoding_2threads2((te_params*)param);
 
 
     if (release_thread(&proc->mutex_te[2],&proc->instance_cnt_te[2],"te thread 2")<0) break;
-- 
GitLab