Commit 4ceaa653 authored by Tien Thinh NGUYEN's avatar Tien Thinh NGUYEN

Fix Service Request handling to make it work with Pixel 5

parent 51f06bad
...@@ -851,8 +851,8 @@ void amf_n1::service_request_handle( ...@@ -851,8 +851,8 @@ void amf_n1::service_request_handle(
"GUTI %s, 5G-TMSI %s", guti.c_str(), tmsi.c_str()); "GUTI %s, 5G-TMSI %s", guti.c_str(), tmsi.c_str());
std::shared_ptr<nas_context> old_nc = {}; std::shared_ptr<nas_context> old_nc = {};
if (is_guti_2_nas_context(guti)) { if (is_guti_2_nas_context(guti)) {
old_nc = guti_2_nas_context(guti); old_nc = guti_2_nas_context(guti);
nc->security_ctx = old_nc->security_ctx; // nc->security_ctx = old_nc->security_ctx;
} }
} }
} }
...@@ -3426,7 +3426,7 @@ void amf_n1::run_mobility_registration_update_procedure( ...@@ -3426,7 +3426,7 @@ void amf_n1::run_mobility_registration_update_procedure(
if (!secu) { if (!secu) {
Logger::amf_n1().warn("No Security Context found"); Logger::amf_n1().warn("No Security Context found");
// Run Registration procedure // Run Registration procedure
run_registration_procedure(nc); // run_registration_procedure(nc);
return; 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