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
4e4a0b7b
Commit
4e4a0b7b
authored
Aug 23, 2022
by
Chieh-Chun Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use bool and fix indentation
parent
3e2d8890
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
openair2/LAYER2/nr_pdcp/nr_pdcp_entity.c
openair2/LAYER2/nr_pdcp/nr_pdcp_entity.c
+2
-2
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
+5
-5
No files found.
openair2/LAYER2/nr_pdcp/nr_pdcp_entity.c
View file @
4e4a0b7b
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
View file @
4e4a0b7b
...
...
@@ -1138,8 +1138,8 @@ void nr_rlc_activate_avg_time_to_tx(
nr_rlc_manager_unlock
(
nr_rlc_ue_manager
);
}
/* returns
0 in case of error, 1
if everything ok */
int
const
nr_rlc_get_statistics
(
/* returns
false in case of error, true
if everything ok */
const
bool
nr_rlc_get_statistics
(
int
rnti
,
int
srb_flag
,
int
rb_id
,
...
...
@@ -1147,7 +1147,7 @@ int const nr_rlc_get_statistics(
{
nr_rlc_ue_t
*
ue
;
nr_rlc_entity_t
*
rb
;
int
ret
;
bool
ret
;
nr_rlc_manager_lock
(
nr_rlc_ue_manager
);
ue
=
nr_rlc_manager_get_ue
(
nr_rlc_ue_manager
,
rnti
);
...
...
@@ -1164,9 +1164,9 @@ int const nr_rlc_get_statistics(
if
(
rb
!=
NULL
)
{
rb
->
get_stats
(
rb
,
out
);
ret
=
1
;
ret
=
true
;
}
else
{
ret
=
0
;
ret
=
false
;
}
nr_rlc_manager_unlock
(
nr_rlc_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