From c04e0bdd5c5d3da8426842d05073f1b01d9ffc99 Mon Sep 17 00:00:00 2001
From: Nick Ho <nick133371@gmail.com>
Date: Mon, 14 Jan 2019 17:10:38 +0800
Subject: [PATCH] timing correction

---
 openair2/LAYER2/MAC/schedule_tool_NB_IoT.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/openair2/LAYER2/MAC/schedule_tool_NB_IoT.c b/openair2/LAYER2/MAC/schedule_tool_NB_IoT.c
index 4ebf2aee27..914a8cc2f7 100644
--- a/openair2/LAYER2/MAC/schedule_tool_NB_IoT.c
+++ b/openair2/LAYER2/MAC/schedule_tool_NB_IoT.c
@@ -1101,12 +1101,12 @@ void maintain_available_resource(eNB_MAC_INST_NB_IoT *mac_inst){
         
     }else{
         // only update when current subframe bigger than to start subframe
-        if(mac_inst->current_subframe > available_resource_DL->start_subframe)
-        {
+        //if(mac_inst->current_subframe > available_resource_DL->start_subframe)
+        //{
             LOG_D(MAC,"[maintain] update from %d to current %d, ori end %d\n",available_resource_DL->start_subframe,mac_inst->current_subframe,available_resource_DL->end_subframe);
             available_resource_DL->start_subframe = mac_inst->current_subframe;
-        }else
-            LOG_D(MAC,"[maintain] do nothing\n");
+        //}else
+            //LOG_D(MAC,"[maintain] do nothing\n");
     }
 }
     //  UL 
-- 
2.26.2