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