mirror of https://github.com/PentHertz/srsLTE.git
Fix invalid cell search check in previous commit
This commit is contained in:
parent
99e088ee5b
commit
4af78e4960
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue