From 4af78e4960854909d82774fca42640d56158c4ba Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Wed, 7 Mar 2018 16:23:05 +0100 Subject: [PATCH] Fix invalid cell search check in previous commit --- srsue/src/phy/phch_recv.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsue/src/phy/phch_recv.cc b/srsue/src/phy/phch_recv.cc index 4d4dbb78e..b7bc26a86 100644 --- a/srsue/src/phy/phch_recv.cc +++ b/srsue/src/phy/phch_recv.cc @@ -309,7 +309,7 @@ void phch_recv::cell_search_start() { bool phch_recv::cell_handover(srslte_cell_t cell) { - if (srslte_cell_isvalid(&cell)) { + if (!srslte_cell_isvalid(&cell)) { log_h->error("Received HO command to invalid cell. ID=%d, PRB=%d, ports=%d\n", cell.id, cell.nof_prb, cell.nof_ports); return false; }