changeset 70:f5bb8ea497cb

l1_cmplx.c: l1s_ctrl_nnb() reconstructed
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Mon, 28 Mar 2016 04:08:54 +0000
parents 7f883b707182
children f2d3ee22dea7
files chipsetsw/layer1/cfile/l1_cmplx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/cfile/l1_cmplx.c	Mon Mar 28 04:01:33 2016 +0000
+++ b/chipsetsw/layer1/cfile/l1_cmplx.c	Mon Mar 28 04:08:54 2016 +0000
@@ -3546,9 +3546,9 @@
     // is restored at the end of the 4 burst reading.
 #if (L1_FF_MULTIBAND == 0)
 
-    lna_off = l1a_l1s_com.last_input_level[cell_info_ptr->radio_freq - l1_config.std.radio_freq_index_offset].lna_off;
     // agc is computed from PGC2 algo result.
     agc     = Cust_get_agc_from_IL(cell_info_ptr->radio_freq, l1a_l1s_com.last_input_level[cell_info_ptr->radio_freq - l1_config.std.radio_freq_index_offset].input_level >> 1, AV_ID);
+    lna_off = l1a_l1s_com.last_input_level[cell_info_ptr->radio_freq - l1_config.std.radio_freq_index_offset].lna_off;
 
 #else // L1_FF_MULTIBAND = 1 below