From 90fe4a218bb82e8275b5ea4a8ebcb2a980990de4 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Fri, 16 Feb 2018 11:37:57 +0100 Subject: [PATCH] Fix RNTI in Msg3 after non-contention HO in PCAP --- srsue/hdr/mac/ul_harq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsue/hdr/mac/ul_harq.h b/srsue/hdr/mac/ul_harq.h index 4ea37cb07..60deff36f 100644 --- a/srsue/hdr/mac/ul_harq.h +++ b/srsue/hdr/mac/ul_harq.h @@ -272,7 +272,7 @@ private: generate_retx(tti_tx, action); } if (harq_entity->pcap && grant) { - if (grant->is_from_rar) { + if (grant->is_from_rar && harq_entity->rntis->temp_rnti) { grant->rnti = harq_entity->rntis->temp_rnti; } harq_entity->pcap->write_ul_crnti(pdu_ptr, grant->n_bytes[0], grant->rnti, get_nof_retx(), tti_tx);