Commit 8cceeae6 authored by aligungr's avatar aligungr

Empty RequestedNSSAI IE bug fix

parent fcc1d04e
...@@ -79,6 +79,7 @@ void NasMm::sendInitialRegistration(bool isEmergencyReg, bool dueToDereg) ...@@ -79,6 +79,7 @@ void NasMm::sendInitialRegistration(bool isEmergencyReg, bool dueToDereg)
// Assign other fields // Assign other fields
request->mobileIdentity = getOrGeneratePreferredId(); request->mobileIdentity = getOrGeneratePreferredId();
request->lastVisitedRegisteredTai = m_usim->m_lastVisitedRegisteredTai; request->lastVisitedRegisteredTai = m_usim->m_lastVisitedRegisteredTai;
if (!requestedNssai.slices.empty())
request->requestedNSSAI = nas::utils::NssaiFrom(requestedNssai); request->requestedNSSAI = nas::utils::NssaiFrom(requestedNssai);
request->ueSecurityCapability = createSecurityCapabilityIe(); request->ueSecurityCapability = createSecurityCapabilityIe();
request->updateType = request->updateType =
...@@ -164,6 +165,7 @@ void NasMm::sendMobilityRegistration(ERegUpdateCause updateCause) ...@@ -164,6 +165,7 @@ void NasMm::sendMobilityRegistration(ERegUpdateCause updateCause)
// Assign other fields // Assign other fields
request->lastVisitedRegisteredTai = m_usim->m_lastVisitedRegisteredTai; request->lastVisitedRegisteredTai = m_usim->m_lastVisitedRegisteredTai;
request->mobileIdentity = getOrGeneratePreferredId(); request->mobileIdentity = getOrGeneratePreferredId();
if (!requestedNssai.slices.empty())
request->requestedNSSAI = nas::utils::NssaiFrom(requestedNssai); request->requestedNSSAI = nas::utils::NssaiFrom(requestedNssai);
request->ueSecurityCapability = createSecurityCapabilityIe(); request->ueSecurityCapability = createSecurityCapabilityIe();
......
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