From a77e99fd45ffd22dd2bf16783cc4a72b1f68dd44 Mon Sep 17 00:00:00 2001 From: frankist Date: Mon, 11 Nov 2024 18:03:40 +0100 Subject: [PATCH] sched: fix data race in access to drx config --- lib/scheduler/ue_context/ue_drx_controller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scheduler/ue_context/ue_drx_controller.h b/lib/scheduler/ue_context/ue_drx_controller.h index cb6311278e..8803d47bc6 100644 --- a/lib/scheduler/ue_context/ue_drx_controller.h +++ b/lib/scheduler/ue_context/ue_drx_controller.h @@ -50,7 +50,7 @@ class ue_drx_controller const subcarrier_spacing scs_common; std::chrono::milliseconds conres_timer; - const std::optional& drx_cfg; + const std::optional drx_cfg; const ul_logical_channel_manager& ul_lc_mng; std::optional ul_ccch_slot_rx; srslog::basic_logger& logger;