Skip to content

Commit 57fce29

Browse files
gnb: stop radio on exit
1 parent e321144 commit 57fce29

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/gnb/gnb.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,10 @@ int main(int argc, char** argv)
684684
ngap_p->close();
685685
mac_p->close();
686686

687+
gnb_logger.info("Stopping radio...");
688+
radio->stop();
689+
gnb_logger.info("Radio stopped successfully");
690+
687691
gnb_logger.info("Stopping lower PHY...");
688692
lower->get_controller().stop();
689693
gnb_logger.info("Lower PHY stopped successfully");

0 commit comments

Comments
 (0)