lte: stop radio before stopping stack

master
Francisco Paisana 3 years ago committed by Andre Puschmann
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…
Cancel
Save