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
fffb2d14
Commit
fffb2d14
authored
Jan 19, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Close rfsimulator sockets
parent
649e059f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
targets/ARCH/rfsimulator/simulator.c
targets/ARCH/rfsimulator/simulator.c
+9
-1
No files found.
targets/ARCH/rfsimulator/simulator.c
View file @
fffb2d14
...
...
@@ -740,7 +740,15 @@ static int rfsimulator_get_stats(openair0_device *device) {
static
int
rfsimulator_reset_stats
(
openair0_device
*
device
)
{
return
0
;
}
static
void
rfsimulator_end
(
openair0_device
*
device
)
{}
static
void
rfsimulator_end
(
openair0_device
*
device
)
{
rfsimulator_state_t
*
s
=
device
->
priv
;
for
(
int
i
=
0
;
i
<
FD_SETSIZE
;
i
++
)
{
buffer_t
*
b
=
&
s
->
buf
[
i
];
if
(
b
->
conn_sock
>=
0
)
close
(
b
->
conn_sock
);
}
close
(
s
->
epollfd
);
}
static
int
rfsimulator_stop
(
openair0_device
*
device
)
{
return
0
;
}
...
...
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