Commit 3a883188 authored by aligungr's avatar aligungr

SM cause send implementation

parent 38b92d1f
......@@ -138,7 +138,7 @@ void NasSm::receiveEstablishmentAccept(const nas::PduSessionEstablishmentAccept
if (pduSession->psState != EPsState::ACTIVE_PENDING)
{
m_logger->err("PS establishment accept received without being requested");
sendSmCause(nas::ESmCause::MESSAGE_TYPE_NOT_COMPATIBLE_WITH_THE_PROTOCOL_STATE, pduSession->psi);
sendSmCause(nas::ESmCause::MESSAGE_TYPE_NOT_COMPATIBLE_WITH_THE_PROTOCOL_STATE, msg.pti, msg.pduSessionId);
return;
}
......@@ -193,7 +193,7 @@ void NasSm::receiveEstablishmentReject(const nas::PduSessionEstablishmentReject
if (pduSession->psState != EPsState::ACTIVE_PENDING)
{
m_logger->err("PS establishment reject received without being requested");
sendSmCause(nas::ESmCause::MESSAGE_TYPE_NOT_COMPATIBLE_WITH_THE_PROTOCOL_STATE, pduSession->psi);
sendSmCause(nas::ESmCause::MESSAGE_TYPE_NOT_COMPATIBLE_WITH_THE_PROTOCOL_STATE, msg.pti, msg.pduSessionId);
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment