Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
972f52fd
Commit
972f52fd
authored
Aug 13, 2018
by
Robert Schmidt
Browse files
fix remove LOG_N in restart
parent
e1a598bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair2/ENB_APP/enb_app.c
View file @
972f52fd
...
...
@@ -335,7 +335,7 @@ void handle_reconfiguration(module_id_t mod_id)
clock_gettime
(
CLOCK_MONOTONIC
,
&
start
);
flexran_agent_info_t
*
flexran
=
RC
.
flexran
[
mod_id
];
LOG_
N
(
ENB_APP
,
"lte-softmodem soft-restart requested
\n
"
);
LOG_
I
(
ENB_APP
,
"lte-softmodem soft-restart requested
\n
"
);
if
(
ENB_WAIT
==
flexran
->
node_ctrl_state
)
{
/* this is already waiting, just release */
...
...
@@ -354,7 +354,7 @@ void handle_reconfiguration(module_id_t mod_id)
/* node_ctrl_state should have value ENB_MAKE_WAIT only if this method is not
* executed by the FlexRAN thread */
if
(
ENB_MAKE_WAIT
==
flexran
->
node_ctrl_state
)
{
LOG_
N
(
ENB_APP
,
" * eNB %d: Waiting for FlexRAN RTController command *
\n
"
,
mod_id
);
LOG_
I
(
ENB_APP
,
" * eNB %d: Waiting for FlexRAN RTController command *
\n
"
,
mod_id
);
pthread_mutex_lock
(
&
flexran
->
mutex_node_ctrl
);
flexran
->
node_ctrl_state
=
ENB_WAIT
;
while
(
ENB_NORMAL_OPERATION
!=
flexran
->
node_ctrl_state
)
...
...
@@ -376,5 +376,5 @@ void handle_reconfiguration(module_id_t mod_id)
end
.
tv_sec
-=
1
;
end
.
tv_nsec
=
end
.
tv_nsec
-
start
.
tv_nsec
+
1000000000
;
}
LOG_
N
(
ENB_APP
,
"lte-softmodem restart succeeded in %ld.%ld s
\n
"
,
end
.
tv_sec
,
end
.
tv_nsec
/
1000000
);
LOG_
I
(
ENB_APP
,
"lte-softmodem restart succeeded in %ld.%ld s
\n
"
,
end
.
tv_sec
,
end
.
tv_nsec
/
1000000
);
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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