From cc0255e4f122f2995bbfe31993d9ad786ffa3938 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Thu, 14 Oct 2021 18:08:08 +0200 Subject: [PATCH] enb,rrc_nr: reduce log level to info when C-RNTI is received for current RNTI it might happen (cause by the UE or eNB) that the Msg3 with C-RNTI is passed twice (e.g. Retx). It's ok to be logged for now but not in Error level. Reduce to warning. --- srsenb/src/stack/rrc/rrc_nr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsenb/src/stack/rrc/rrc_nr.cc b/srsenb/src/stack/rrc/rrc_nr.cc index f8ea9348d..d107e3afe 100644 --- a/srsenb/src/stack/rrc/rrc_nr.cc +++ b/srsenb/src/stack/rrc/rrc_nr.cc @@ -182,7 +182,7 @@ void rrc_nr::rem_user(uint16_t rnti) int rrc_nr::update_user(uint16_t new_rnti, uint16_t old_rnti) { if (new_rnti == old_rnti) { - logger.error("rnti=0x%x received MAC CRNTI CE with same rnti", new_rnti); + logger.warning("rnti=0x%x received MAC CRNTI CE with same rnti", new_rnti); return SRSRAN_ERROR; }