fix condition check in cell HO

This commit is contained in:
Andre Puschmann 2018-03-07 15:02:07 +01:00
parent 99e088ee5b
commit 04f6634b49
1 changed files with 1 additions and 2 deletions

View File

@ -308,8 +308,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;
}