From 25ccd296461ed8ce32044bbda200f8d02e3ff2bd Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Thu, 15 Mar 2018 09:59:39 +0100 Subject: [PATCH] fix issue when cell search doesn't set rx frequency because phy init takes too long See commit f3c04949b755ce135fef9488f213e3d7fed60b88 for reference and a more detailed description. --- srsue/src/phy/phch_recv.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/srsue/src/phy/phch_recv.cc b/srsue/src/phy/phch_recv.cc index 38dd5b561..4563c1476 100644 --- a/srsue/src/phy/phch_recv.cc +++ b/srsue/src/phy/phch_recv.cc @@ -280,10 +280,8 @@ void phch_recv::cell_search_inc() rrc->earfcn_end(); } else { Info("SYNC: Cell Search idx %d/%d\n", cur_earfcn_index, earfcn.size()); - if (current_earfcn != earfcn[cur_earfcn_index]) { - current_earfcn = earfcn[cur_earfcn_index]; - set_frequency(); - } + current_earfcn = earfcn[cur_earfcn_index]; + set_frequency(); phy_state = CELL_SEARCH; } }