From 0d67fbc36c3da0b1096bcfe5ed5ef69682c99bb9 Mon Sep 17 00:00:00 2001 From: Carlo Galiotto Date: Tue, 26 Oct 2021 19:38:02 +0200 Subject: [PATCH] rrc: change call to release user We call s1ap instead of rrc Signed-off-by: Carlo Galiotto --- srsenb/src/stack/rrc/rrc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srsenb/src/stack/rrc/rrc.cc b/srsenb/src/stack/rrc/rrc.cc index 3cd1dfabb..9d2f5eef2 100644 --- a/srsenb/src/stack/rrc/rrc.cc +++ b/srsenb/src/stack/rrc/rrc.cc @@ -605,13 +605,13 @@ void rrc::sgnb_addition_complete(uint16_t eutra_rnti, uint16_t nr_rnti) void rrc::sgnb_inactivity_timeout(uint16_t eutra_rnti) { - logger.error("Received NR inactivity timeout for rnti=%d - releasing UE", eutra_rnti); + logger.error("Received NR inactivity timeout for rnti=0x%x - releasing UE", eutra_rnti); auto ue_it = users.find(eutra_rnti); if (ue_it == users.end()) { logger.warning("rnti=0x%x does not exist", eutra_rnti); return; } - release_ue(eutra_rnti); + s1ap->user_release(eutra_rnti, asn1::s1ap::cause_radio_network_opts::user_inactivity); } void rrc::sgnb_release_ack(uint16_t eutra_rnti)