changeset 312:701fb3242432

l1p_ctl.c: l1pctl_transfer_agc_ctrl() reconstructed
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 03 Oct 2017 06:38:07 +0000
parents 5f8ab159aa76
children 0388ecc384d6
files chipsetsw/layer1/p_cfile/l1p_ctl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/p_cfile/l1p_ctl.c	Tue Oct 03 06:30:41 2017 +0000
+++ b/chipsetsw/layer1/p_cfile/l1p_ctl.c	Tue Oct 03 06:38:07 2017 +0000
@@ -498,8 +498,8 @@
     // Daughter frequency input_level used for AGC processing
     selected_IL = &l1a_l1s_com.Scell_info.transfer_meas;
   }
+  *agc     = Cust_get_agc_from_IL(radio_freq,selected_IL->input_level >> 1, MAX_ID);
   *lna_off = selected_IL->lna_off;
-  *agc     = Cust_get_agc_from_IL(radio_freq,selected_IL->input_level >> 1, MAX_ID);
 
   // Store lna_off and input_level field used for current CTRL in order to be able 
   // to build IL from pm in READ phase.