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.
master
Andre Puschmann 3 years ago
parent d708f05869
commit cc0255e4f1

@ -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;
}

Loading…
Cancel
Save