From df0dcb27e70a6867ac50aa179eb47a77eb8125f5 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Thu, 15 Mar 2018 11:31:39 +0100 Subject: [PATCH] Revert "PHCH Receive is reset, the current EARFCN becomes the first one in the list." This reverts commit f3c04949b755ce135fef9488f213e3d7fed60b88. --- srsue/src/phy/phch_recv.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/srsue/src/phy/phch_recv.cc b/srsue/src/phy/phch_recv.cc index 38dd5b561..5821a1bf3 100644 --- a/srsue/src/phy/phch_recv.cc +++ b/srsue/src/phy/phch_recv.cc @@ -132,11 +132,7 @@ void phch_recv::reset() next_offset = 0; cell_is_set = false; srate_mode = SRATE_NONE; - if (!earfcn.empty()) { - current_earfcn = earfcn[0]; - } else { - current_earfcn = 0; - } + current_earfcn = 0; sfn_p.reset(); measure_p.reset(); search_p.reset();