Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-AMF
Commits
8814bc18
Commit
8814bc18
authored
Jul 05, 2022
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix decode SD/HPLMNSD in NAS
parent
8c47adea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
src/nas/ies/NSSAI.cpp
src/nas/ies/NSSAI.cpp
+1
-5
No files found.
src/nas/ies/NSSAI.cpp
View file @
8814bc18
...
@@ -138,8 +138,6 @@ int NSSAI::decodefrombuffer(uint8_t* buf, int len, bool is_option) {
...
@@ -138,8 +138,6 @@ int NSSAI::decodefrombuffer(uint8_t* buf, int len, bool is_option) {
length
=
*
(
buf
+
decoded_size
);
length
=
*
(
buf
+
decoded_size
);
decoded_size
++
;
decoded_size
++
;
int
length_tmp
=
length
;
int
length_tmp
=
length
;
a
.
sd
=
SD_NO_VALUE
;
// Default value
a
.
mHplmnSd
=
SD_NO_VALUE
;
// Default value
while
(
length_tmp
)
{
while
(
length_tmp
)
{
switch
(
*
(
buf
+
decoded_size
))
{
switch
(
*
(
buf
+
decoded_size
))
{
...
@@ -230,9 +228,7 @@ int NSSAI::decodefrombuffer(uint8_t* buf, int len, bool is_option) {
...
@@ -230,9 +228,7 @@ int NSSAI::decodefrombuffer(uint8_t* buf, int len, bool is_option) {
}
}
S_NSSAI
.
insert
(
S_NSSAI
.
end
(),
a
);
S_NSSAI
.
insert
(
S_NSSAI
.
end
(),
a
);
a
=
{
0
,
0
,
0
,
0
};
a
=
{
0
,
0
,
0
,
0
};
a
.
sd
=
SD_NO_VALUE
;
// Default value
a
.
mHplmnSd
=
SD_NO_VALUE
;
// Default value
}
}
for
(
int
i
=
0
;
i
<
S_NSSAI
.
size
();
i
++
)
{
for
(
int
i
=
0
;
i
<
S_NSSAI
.
size
();
i
++
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment