Commit e3899ced authored by aikaterini.trilyraki's avatar aikaterini.trilyraki

* fix the MME connection timer when MME is not yet availablewqwq

parent a384b91e
...@@ -1674,6 +1674,10 @@ static void* eNB_thread( void* arg ) ...@@ -1674,6 +1674,10 @@ static void* eNB_thread( void* arg )
tx_pos = openair0_cfg[0].tx_scheduling_advance; tx_pos = openair0_cfg[0].tx_scheduling_advance;
#endif #endif
#if defined(ENABLE_ITTI)
wait_system_ready ("Waiting for eNB application to be ready %s\r", &start_eNB);
#endif
while (!oai_exit) { while (!oai_exit) {
start_meas( &softmodem_stats_mt ); start_meas( &softmodem_stats_mt );
...@@ -3188,15 +3192,15 @@ int main( int argc, char **argv ) ...@@ -3188,15 +3192,15 @@ int main( int argc, char **argv )
pthread_cond_init(&sync_cond,NULL); pthread_cond_init(&sync_cond,NULL);
pthread_mutex_init(&sync_mutex, NULL); pthread_mutex_init(&sync_mutex, NULL);
#if defined(ENABLE_ITTI) /* this is moved to the eNB main thread */
//#if defined(ENABLE_ITTI)
// Wait for eNB application initialization to be complete (eNB registration to MME) // Wait for eNB application initialization to be complete (eNB registration to MME)
if (UE_flag==0) { // if (UE_flag==0) {
printf("Waiting for eNB application to be ready\n"); // printf("Waiting for eNB application to be ready\n");
wait_system_ready ("Waiting for eNB application to be ready %s\r", &start_eNB); //wait_system_ready ("Waiting for eNB application to be ready %s\r", &start_eNB);
} // }
//#endif
#endif
// this starts the DMA transfers // this starts the DMA transfers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment