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
spbro
OpenXG-RAN
Commits
cd4bc84b
Commit
cd4bc84b
authored
Jun 02, 2022
by
KARIM BOUTIBA
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fix in nr_sdap_get_entity
parent
7bf5f018
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
openair2/SDAP/nr_sdap/nr_sdap_entity.c
openair2/SDAP/nr_sdap/nr_sdap_entity.c
+2
-1
No files found.
openair2/SDAP/nr_sdap/nr_sdap_entity.c
View file @
cd4bc84b
...
@@ -450,7 +450,7 @@ nr_sdap_entity_t *nr_sdap_get_entity(uint16_t rnti, int pdusession_id) {
...
@@ -450,7 +450,7 @@ nr_sdap_entity_t *nr_sdap_get_entity(uint16_t rnti, int pdusession_id) {
if
(
sdap_entity
==
NULL
)
if
(
sdap_entity
==
NULL
)
return
NULL
;
return
NULL
;
while
(
sdap_entity
->
rnti
!=
rnti
&&
sdap_entity
->
next_entity
!=
NULL
)
{
while
(
(
sdap_entity
->
rnti
!=
rnti
||
sdap_entity
->
pdusession_id
!=
pdusession_id
)
&&
sdap_entity
->
next_entity
!=
NULL
)
{
sdap_entity
=
sdap_entity
->
next_entity
;
sdap_entity
=
sdap_entity
->
next_entity
;
}
}
...
@@ -460,6 +460,7 @@ nr_sdap_entity_t *nr_sdap_get_entity(uint16_t rnti, int pdusession_id) {
...
@@ -460,6 +460,7 @@ nr_sdap_entity_t *nr_sdap_get_entity(uint16_t rnti, int pdusession_id) {
return
NULL
;
return
NULL
;
}
}
void
delete_nr_sdap_entity
(
uint16_t
rnti
)
{
void
delete_nr_sdap_entity
(
uint16_t
rnti
)
{
nr_sdap_entity_t
*
entityPtr
,
*
entityPrev
=
NULL
;
nr_sdap_entity_t
*
entityPtr
,
*
entityPrev
=
NULL
;
entityPtr
=
sdap_info
.
sdap_entity_llist
;
entityPtr
=
sdap_info
.
sdap_entity_llist
;
...
...
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