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
1efef96e
Commit
1efef96e
authored
Jan 10, 2022
by
Guido Casati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Using ASN_STRUCT_FREE instead of free
parent
2c289c45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openair2/GNB_APP/gnb_config.c
openair2/GNB_APP/gnb_config.c
+1
-1
No files found.
openair2/GNB_APP/gnb_config.c
View file @
1efef96e
...
...
@@ -348,7 +348,7 @@ void fix_scc(NR_ServingCellConfigCommon_t *scc,uint64_t ssbmap) {
lte_frame_type_t
frame_type
=
get_frame_type
((
int
)
*
scc
->
downlinkConfigCommon
->
frequencyInfoDL
->
frequencyBandList
.
list
.
array
[
0
],
*
scc
->
ssbSubcarrierSpacing
);
if
(
frame_type
==
FDD
)
{
free
(
scc
->
tdd_UL_DL_ConfigurationCommon
);
ASN_STRUCT_FREE
(
asn_DEF_NR_TDD_UL_DL_ConfigCommon
,
scc
->
tdd_UL_DL_ConfigurationCommon
);
scc
->
tdd_UL_DL_ConfigurationCommon
=
NULL
;
}
else
{
// TDD
if
(
scc
->
tdd_UL_DL_ConfigurationCommon
->
pattern2
->
dl_UL_TransmissionPeriodicity
>
320
)
{
...
...
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