From d746ff61274b101f53728b114f0aa4f62e38ea85 Mon Sep 17 00:00:00 2001
From: Robert Schmidt <robert.schmidt@eurecom.fr>
Date: Fri, 9 Feb 2018 16:29:59 +0100
Subject: [PATCH] update comments in restart_L1L2()

---
 targets/RT/USER/lte-softmodem.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/targets/RT/USER/lte-softmodem.c b/targets/RT/USER/lte-softmodem.c
index 3aebf6d279..42a4a7c950 100644
--- a/targets/RT/USER/lte-softmodem.c
+++ b/targets/RT/USER/lte-softmodem.c
@@ -969,8 +969,6 @@ int restart_L1L2(module_id_t enb_id)
     RC.eNB[enb_id][cc_id]->configured = 0;
   }
 
-
-  /* TODO undo malloc_IF4p5_buffer() */
   RC.ru_mask |= (1 << ru->idx);
   /* copy the changed frame parameters to the RU */
   /* TODO this should be done for all RUs associated to this eNB */
@@ -997,11 +995,9 @@ int restart_L1L2(module_id_t enb_id)
   RRC_CONFIGURATION_REQ(msg_p) = RC.rrc[enb_id]->configuration;
   itti_send_msg_to_task(TASK_RRC_ENB, ENB_MODULE_ID_TO_INSTANCE(enb_id), msg_p);
 
-  /* TODO XForms here */
+  /* TODO XForms might need to be restarted, but it is currently (09/02/18)
+   * broken, so we cannot test it */
 
-  /* TODO check for memory leaks */
-  /* TODO wait_eNBs() would wait for phy_config_request()? */
-  //init_eNB(single_thread_flag,wait_for_sync);
   wait_eNBs();
   init_RU_proc(ru);
   ru->rf_map.card = 0;
@@ -1009,7 +1005,6 @@ int restart_L1L2(module_id_t enb_id)
   wait_RUs();
   init_eNB_afterRU();
 
-
   printf("Sending sync to all threads\n");
   pthread_mutex_lock(&sync_mutex);
   sync_var=0;
-- 
GitLab