Fix data race in enb::mac::ue class.

master
faluco 3 years ago committed by faluco
parent 457dcf4de4
commit 8a2231251a

@ -192,7 +192,7 @@ private:
srsran::mac_pcap_net* pcap_net = nullptr; srsran::mac_pcap_net* pcap_net = nullptr;
uint64_t conres_id = 0; uint64_t conres_id = 0;
uint16_t rnti = 0; uint16_t rnti = 0;
uint32_t last_tti = 0; std::atomic<uint32_t> last_tti{0};
uint32_t nof_failures = 0; uint32_t nof_failures = 0;
std::atomic<bool> active_state{true}; std::atomic<bool> active_state{true};

Loading…
Cancel
Save