Fix invalid cell search check in previous commit

master
Ismael Gomez 7 years ago
parent 99e088ee5b
commit 4af78e4960

@ -309,7 +309,7 @@ void phch_recv::cell_search_start() {
bool phch_recv::cell_handover(srslte_cell_t cell) 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); 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; return false;
} }

Loading…
Cancel
Save