mirror of https://github.com/PentHertz/srsLTE.git
s1ap, bugfix - check if MME-UE-S1AP-ID has been yet assigned before sending UL NAS Transport. If it hasn't log error and abort.
This commit is contained in:
parent
90c42bc9c3
commit
6ed617f429
|
@ -1376,7 +1376,8 @@ bool s1ap::ue::send_initialuemessage(asn1::s1ap::rrc_establishment_cause_e cause
|
||||||
|
|
||||||
bool s1ap::ue::send_ulnastransport(srsran::unique_byte_buffer_t pdu)
|
bool s1ap::ue::send_ulnastransport(srsran::unique_byte_buffer_t pdu)
|
||||||
{
|
{
|
||||||
if (not s1ap_ptr->mme_connected) {
|
if (not ctxt.mme_ue_s1ap_id.has_value()) {
|
||||||
|
logger.error("Trying to send UL NAS Transport message for rnti=0x%x without MME-S1AP-UE-ID", ctxt.rnti);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue