From d86cddfd61b7ae8ab0ce368e88b191bc030a760e Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Wed, 1 May 2019 14:59:29 +0100 Subject: [PATCH] Stop comparing address of struct with struct on async_scell_recv.cc. --- srsue/src/phy/async_scell_recv.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsue/src/phy/async_scell_recv.cc b/srsue/src/phy/async_scell_recv.cc index 80a07f69d..c06e90a8c 100644 --- a/srsue/src/phy/async_scell_recv.cc +++ b/srsue/src/phy/async_scell_recv.cc @@ -282,7 +282,7 @@ bool async_scell_recv::set_scell_cell(uint32_t carrier_idx, srslte_cell_t* _cell } // Detect change in cell configuration - if (memcmp(&cell, &_cell, sizeof(srslte_cell_t)) != 0) { + if (memcmp(&cell, _cell, sizeof(srslte_cell_t)) != 0) { // Set sampling rate, if number of PRB changed if (cell.nof_prb != _cell->nof_prb && ret) {