From 92b81b200f6c0ccf87906184dc12829bef10032e Mon Sep 17 00:00:00 2001 From: faluco Date: Tue, 26 Oct 2021 11:23:40 +0200 Subject: [PATCH] Fix data race in ul_harq_process::current_irv. --- srsue/hdr/stack/mac/ul_harq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsue/hdr/stack/mac/ul_harq.h b/srsue/hdr/stack/mac/ul_harq.h index de55b241f..4add4e488 100644 --- a/srsue/hdr/stack/mac/ul_harq.h +++ b/srsue/hdr/stack/mac/ul_harq.h @@ -119,7 +119,7 @@ private: uint32_t pid; std::atomic current_tx_nb = {0}; - uint32_t current_irv; + std::atomic current_irv = {0}; bool harq_feedback; bool is_grant_configured; bool is_initiated;