diff --git a/srsue/src/phy/phy_common.cc b/srsue/src/phy/phy_common.cc index 18248166a..a3c7618eb 100644 --- a/srsue/src/phy/phy_common.cc +++ b/srsue/src/phy/phy_common.cc @@ -888,8 +888,11 @@ void phy_common::reset() reset_radio(); sr.reset(); - cur_pathloss = 0; - cur_pusch_power = 0; + { + std::unique_lock lock(meas_mutex); + cur_pathloss = 0; + cur_pusch_power = 0; + } last_ri = 0; // Reset all measurements