Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
lizhongxiao
OpenXG-RAN
Commits
3ae66538
Commit
3ae66538
authored
Nov 02, 2023
by
Sakthivel Velumani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Declare variable outside of case: label
parent
8f79b4ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
openair3/NAS/NR_UE/nr_nas_msg_sim.c
openair3/NAS/NR_UE/nr_nas_msg_sim.c
+2
-1
No files found.
openair3/NAS/NR_UE/nr_nas_msg_sim.c
View file @
3ae66538
...
...
@@ -985,6 +985,7 @@ static void get_allowed_nssai(nr_nas_msg_snssai_t nssai[8], const uint8_t *pdu_b
/* optional fields */
while
(
pdu_buffer
<
end
)
{
const
int
type
=
*
pdu_buffer
++
;
int
length
=
0
;
switch
(
type
)
{
case
0x77
:
// 5GS mobile identity
pdu_buffer
+=
ntoh_int16_buf
(
pdu_buffer
)
+
sizeof
(
uint16_t
);
...
...
@@ -996,7 +997,7 @@ static void get_allowed_nssai(nr_nas_msg_snssai_t nssai[8], const uint8_t *pdu_b
break
;
case
0x15
:
// allowed NSSAI
const
int
length
=
*
pdu_buffer
++
;
length
=
*
pdu_buffer
++
;
parse_allowed_nssai
(
nssai
,
pdu_buffer
,
length
);
break
;
...
...
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