changeset 48:854f343761c8

l1_async.c: l1a_neighbour_cell_bcch_reading_process() reconstructed
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Fri, 04 Mar 2016 07:20:26 +0000
parents 138d181bead9
children a92e07daf86a
files chipsetsw/layer1/cfile/l1_async.c
diffstat 1 files changed, 0 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/cfile/l1_async.c	Fri Mar 04 06:08:33 2016 +0000
+++ b/chipsetsw/layer1/cfile/l1_async.c	Fri Mar 04 07:20:26 2016 +0000
@@ -1840,10 +1840,7 @@
 
         // Look for first free location within L1 structure.
         while((neigh_number < 6) && (l1a_l1s_com.bcchn.list[neigh_number].status != NSYNC_FREE))
-	{
-	    if(neigh_number != 5 )
           neigh_number++;
-	}
 
 
         // Download neighbour info from request message.
@@ -1858,8 +1855,6 @@
         time_alignmt =time_alignmt_mem;
         fn_offset    =fn_offset_mem;
         l1a_sub_timeslot(&time_alignmt, &fn_offset, l1a_l1s_com.dl_tn);
-	if (neigh_number < 6 )
-	{
 
         l1a_l1s_com.bcchn.list[neigh_number].radio_freq    = ((T_MPHC_NCELL_BCCH_REQ *)(msg->SigP))->radio_freq;
         l1a_l1s_com.bcchn.list[neigh_number].fn_offset     = fn_offset;
@@ -1878,9 +1873,7 @@
           l1a_l1s_com.bcchn.list[neigh_number].gprs_priority = NORMAL_PRIORITY;
         #endif
 
-	}
         // Enable L1S activity on this new neighbour task BCCH.
-     if (neigh_number < 6 )//OMAPS00090550
         l1a_l1s_com.bcchn.list[neigh_number].status  = NSYNC_PENDING;
 
         l1a_l1s_com.bcchn.current_list_size         += 1;
@@ -1979,15 +1972,7 @@
                       (l1a_l1s_com.bcchn.list[j].status != NSYNC_FREE)) &&
                     (j < 6))
               {
-				if(j < 5 ) //OMAPS00090550
-				{
                 	j++;
-				}
-				else
-				{
-					j++;
-					break;
-				}
               }
 
               // If found, reset L1 structure for this carrier.