Fix releasing on on RRC and not on S1AP on integrity failure.

master
Pedro Alvarez 4 years ago
parent a53b321ab8
commit 163976f050

@ -14,6 +14,7 @@
#include "srsenb/hdr/stack/rrc/rrc_cell_cfg.h" #include "srsenb/hdr/stack/rrc/rrc_cell_cfg.h"
#include "srsenb/hdr/stack/rrc/rrc_mobility.h" #include "srsenb/hdr/stack/rrc/rrc_mobility.h"
#include "srsenb/hdr/stack/rrc/rrc_paging.h" #include "srsenb/hdr/stack/rrc/rrc_paging.h"
#include "srsenb/hdr/stack/s1ap/s1ap.h"
#include "srsran/asn1/asn1_utils.h" #include "srsran/asn1/asn1_utils.h"
#include "srsran/asn1/rrc_utils.h" #include "srsran/asn1/rrc_utils.h"
#include "srsran/common/bcd_helpers.h" #include "srsran/common/bcd_helpers.h"
@ -293,7 +294,7 @@ void rrc::write_pdu(uint16_t rnti, uint32_t lcid, srsran::unique_byte_buffer_t p
void rrc::notify_pdcp_integrity_error(uint16_t rnti, uint32_t lcid) void rrc::notify_pdcp_integrity_error(uint16_t rnti, uint32_t lcid)
{ {
logger.warning("Received integrity protection failure indication, rnti=0x%u, lcid=%u", rnti, lcid); logger.warning("Received integrity protection failure indication, rnti=0x%u, lcid=%u", rnti, lcid);
release_ue(rnti); s1ap->user_release(rnti, asn1::s1ap::cause_radio_network_opts::unspecified);
} }
/******************************************************************************* /*******************************************************************************

Loading…
Cancel
Save