Commit 2c1f2b6c authored by aligungr's avatar aligungr

Refactor

parent 31196a88
......@@ -95,8 +95,7 @@ nas::IE5gsMobileIdentity NasMm::getOrGeneratePreferredId()
{
if (m_storage.m_storedGuti.type != nas::EIdentityType::NO_IDENTITY)
return m_storage.m_storedGuti;
else
{
auto suci = getOrGenerateSuci();
if (suci.type != nas::EIdentityType::NO_IDENTITY)
{
......@@ -122,7 +121,6 @@ nas::IE5gsMobileIdentity NasMm::getOrGeneratePreferredId()
res.type = nas::EIdentityType::NO_IDENTITY;
return res;
}
}
}
} // namespace nr::ue
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