diff --git a/srsue/hdr/phy/scell/scell_state.h b/srsue/hdr/phy/scell/scell_state.h index 90624fa62..3b63fc22c 100644 --- a/srsue/hdr/phy/scell/scell_state.h +++ b/srsue/hdr/phy/scell/scell_state.h @@ -95,6 +95,8 @@ public: */ void deactivate_all() { + std::unique_lock lock(mutex); + for (cfg& e : scell_cfg) { if (e.status == cfg::active) { e.status = cfg::inactive;