Commit 4c52c936 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Do not include SD (NSSAI) with value 0

parent ea587a56
......@@ -44,7 +44,8 @@ int encode_snssai(SNSSAI snssai, uint8_t iei, uint8_t* buffer, uint32_t len) {
}
ielen = snssai.len;
// ielen = 1;
if (snssai.sd == 0) ielen = 1; // Don't include SD if it = 0
*(buffer + encoded) = ielen;
encoded++;
......
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