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
24245d88
Commit
24245d88
authored
Jul 20, 2021
by
Melissa Elkadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log argument indexed passed the end of array.
Unnecessary dl_ind_type array for logging.
parent
7f2e622b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
+2
-4
No files found.
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
View file @
24245d88
...
...
@@ -43,8 +43,6 @@
#define MAX_IF_MODULES 100
const
char
*
dl_indication_type
[]
=
{
"MIB"
,
"SIB"
,
"DLSCH"
,
"DCI"
,
"RAR"
};
UL_IND_t
*
UL_INFO
=
NULL
;
...
...
@@ -768,9 +766,9 @@ int nr_ue_dl_indication(nr_downlink_indication_t *dl_info, NR_UL_TIME_ALIGNMENT_
for
(
i
=
0
;
i
<
dl_info
->
rx_ind
->
number_pdus
;
++
i
){
LOG_D
(
MAC
,
"In %s sending DL indication to MAC. 1 PDU type %
s
of %d total number of PDUs
\n
"
,
LOG_D
(
MAC
,
"In %s sending DL indication to MAC. 1 PDU type %
d
of %d total number of PDUs
\n
"
,
__FUNCTION__
,
dl_in
dication_type
[
dl_info
->
rx_ind
->
rx_indication_body
[
i
].
pdu_type
-
1
]
,
dl_in
fo
->
rx_ind
->
rx_indication_body
[
i
].
pdu_type
,
dl_info
->
rx_ind
->
number_pdus
);
switch
(
dl_info
->
rx_ind
->
rx_indication_body
[
i
].
pdu_type
){
...
...
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