Commit 8d29f4e2 authored by Tien Thinh NGUYEN's avatar Tien Thinh NGUYEN

Fix issue for IdentityRequest encoding process

parent 86b77209
......@@ -66,6 +66,9 @@ int IdentityRequest::Encode(uint8_t* buf, int len) {
return KEncodeDecodeError;
}
if (size == 0)
encoded_size++; // 1/2 for 5GS Identity Type and 1/2 for spare mode
Logger::nas_mm().debug(
"Encoded IdentityRequest message len (%d)", encoded_size);
return encoded_size;
......
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