Fix data race between processSlotTX and clean_UE_harq function

This commit is contained in:
Bartosz Podrygajlo
2024-12-20 19:45:42 +01:00
parent 1df5327f0c
commit 9a3fbacfac
+1 -1
View File
@@ -602,7 +602,7 @@ static int handle_sync_req_from_mac(PHY_VARS_NR_UE *UE)
for (int i = 0; i < NUM_DL_ACTORS; i++) { for (int i = 0; i < NUM_DL_ACTORS; i++) {
flush_actor(UE->dl_actors + i); flush_actor(UE->dl_actors + i);
} }
/*TODO: Flush UL jobs */ flush_actor(&UE->ul_actor);
clean_UE_harq(UE); clean_UE_harq(UE);
UE->is_synchronized = 0; UE->is_synchronized = 0;