diff --git a/srsenb/hdr/stack/mac/ta.h b/srsenb/hdr/stack/mac/ta.h index 1e7591dd9..cc29b0669 100644 --- a/srsenb/hdr/stack/mac/ta.h +++ b/srsenb/hdr/stack/mac/ta.h @@ -199,6 +199,7 @@ public: */ void start() { + std::lock_guard lock(mutex); // Transition to idle only if the current state is idle if (state == state_idle) { state = state_measure;