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
1
Merge Requests
1
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-RAN
Commits
3e2d8890
Commit
3e2d8890
authored
Aug 18, 2022
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use bool, not int
parent
1b029be0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
+5
-5
No files found.
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
View file @
3e2d8890
...
@@ -1445,8 +1445,8 @@ nr_pdcp_ue_manager_t *nr_pdcp_sdap_get_ue_manager() {
...
@@ -1445,8 +1445,8 @@ nr_pdcp_ue_manager_t *nr_pdcp_sdap_get_ue_manager() {
return
nr_pdcp_ue_manager
;
return
nr_pdcp_ue_manager
;
}
}
/* returns
0 in case of error, 1
if everything ok */
/* returns
false in case of error, true
if everything ok */
int
const
nr_pdcp_get_statistics
(
const
bool
nr_pdcp_get_statistics
(
int
rnti
,
int
rnti
,
int
srb_flag
,
int
srb_flag
,
int
rb_id
,
int
rb_id
,
...
@@ -1454,7 +1454,7 @@ int const nr_pdcp_get_statistics(
...
@@ -1454,7 +1454,7 @@ int const nr_pdcp_get_statistics(
{
{
nr_pdcp_ue_t
*
ue
;
nr_pdcp_ue_t
*
ue
;
nr_pdcp_entity_t
*
rb
;
nr_pdcp_entity_t
*
rb
;
int
ret
;
bool
ret
;
nr_pdcp_manager_lock
(
nr_pdcp_ue_manager
);
nr_pdcp_manager_lock
(
nr_pdcp_ue_manager
);
ue
=
nr_pdcp_manager_get_ue
(
nr_pdcp_ue_manager
,
rnti
);
ue
=
nr_pdcp_manager_get_ue
(
nr_pdcp_ue_manager
,
rnti
);
...
@@ -1473,9 +1473,9 @@ int const nr_pdcp_get_statistics(
...
@@ -1473,9 +1473,9 @@ int const nr_pdcp_get_statistics(
if
(
rb
!=
NULL
)
{
if
(
rb
!=
NULL
)
{
rb
->
get_stats
(
rb
,
out
);
rb
->
get_stats
(
rb
,
out
);
ret
=
1
;
ret
=
true
;
}
else
{
}
else
{
ret
=
0
;
ret
=
false
;
}
}
nr_pdcp_manager_unlock
(
nr_pdcp_ue_manager
);
nr_pdcp_manager_unlock
(
nr_pdcp_ue_manager
);
...
...
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