Commit 1ae536c6 authored by Lionel Gauthier's avatar Lionel Gauthier

Sebastian Held patches15/0046-fix-double-else.patch

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7348 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 73762320
...@@ -261,9 +261,10 @@ static void *UE_thread_synch(void *arg) ...@@ -261,9 +261,10 @@ static void *UE_thread_synch(void *arg)
openair0_set_frequencies( &openair0, &openair0_cfg[0] ); openair0_set_frequencies( &openair0, &openair0_cfg[0] );
#endif #endif
}
else if (UE->UE_scan == 1) { LOG_D( PHY, "[SCHED][UE] Check absolute frequency %"PRIu32" (oai_exit %d)\n", downlink_frequency[0][0], oai_exit );
sync_mode = pbch;
} else if (UE->UE_scan == 1) {
current_band=0; current_band=0;
for (card=0; card<MAX_CARDS; card++) { for (card=0; card<MAX_CARDS; card++) {
...@@ -307,13 +308,6 @@ static void *UE_thread_synch(void *arg) ...@@ -307,13 +308,6 @@ static void *UE_thread_synch(void *arg)
openair0_set_frequencies( &openair0, &openair0_cfg[0] ); openair0_set_frequencies( &openair0, &openair0_cfg[0] );
openair0_set_gains( &openair0, &openair0_cfg[0] ); openair0_set_gains( &openair0, &openair0_cfg[0] );
#endif #endif
} else {
// UE_scan == 0
LOG_D( PHY, "[SCHED][UE] Check absolute frequency %"PRIu32" (oai_exit %d)\n", downlink_frequency[0][0], oai_exit );
sync_mode = pbch;
} }
while (oai_exit==0) { while (oai_exit==0) {
......
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