Stop comparing address of struct with struct on async_scell_recv.cc.

master
Pedro Alvarez 6 years ago committed by Andre Puschmann
parent 892da7f099
commit d86cddfd61

@ -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) {

Loading…
Cancel
Save