Fix invalid cell search check in previous commit

This commit is contained in:
Ismael Gomez 2018-03-07 16:23:05 +01:00
parent 99e088ee5b
commit 4af78e4960
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}