mirror of https://github.com/PentHertz/srsLTE.git
lte: stop radio before stopping stack
This commit is contained in:
parent
593d28fa4d
commit
c7e2038904
|
@ -148,6 +148,10 @@ void enb::stop()
|
|||
{
|
||||
if (started) {
|
||||
// tear down in reverse order
|
||||
if (radio) {
|
||||
radio->stop();
|
||||
}
|
||||
|
||||
if (phy) {
|
||||
phy->stop();
|
||||
}
|
||||
|
@ -160,10 +164,6 @@ void enb::stop()
|
|||
nr_stack->stop();
|
||||
}
|
||||
|
||||
if (radio) {
|
||||
radio->stop();
|
||||
}
|
||||
|
||||
// Now that everything is teared down, log sector stop events.
|
||||
const std::string& sib9_hnb_name =
|
||||
rrc_cfg.sibs[8].sib9().hnb_name_present ? rrc_cfg.sibs[8].sib9().hnb_name.to_string() : "";
|
||||
|
|
Loading…
Reference in New Issue