From defe16767299d26086ef56b6c0477a460ad135a6 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Mon, 5 Mar 2018 16:20:45 +0100 Subject: [PATCH] Do not lock on set_crnti worker --- srsue/src/phy/phch_worker.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/srsue/src/phy/phch_worker.cc b/srsue/src/phy/phch_worker.cc index 3075b0b30..de73764f4 100644 --- a/srsue/src/phy/phch_worker.cc +++ b/srsue/src/phy/phch_worker.cc @@ -199,11 +199,9 @@ void phch_worker::set_sample_offset(float sample_offset) void phch_worker::set_crnti(uint16_t rnti) { - pthread_mutex_lock(&mutex); srslte_ue_dl_set_rnti(&ue_dl, rnti); srslte_ue_ul_set_rnti(&ue_ul, rnti); rnti_is_set = true; - pthread_mutex_unlock(&mutex); } float phch_worker::get_ref_cfo()