ue: log fixes

This commit is contained in:
Andre Puschmann 2021-12-15 12:15:33 +01:00
parent 213769fa3d
commit dd28f173b0
2 changed files with 3 additions and 3 deletions

View File

@ -267,7 +267,7 @@ void ue_stack_lte::stop_impl()
bool ue_stack_lte::switch_on()
{
if (running) {
stack_logger.info("Triggering NAS switch on\n");
stack_logger.info("Triggering NAS switch on");
if (!ue_task_queue.try_push([this]() {
if (args.attach_on_nr) {
nas_5g.switch_on();

View File

@ -88,7 +88,7 @@ int ue::init(const all_args_t& args_)
// SA mode
std::unique_ptr<srsue::phy_nr_sa> nr_phy = std::unique_ptr<srsue::phy_nr_sa>(new srsue::phy_nr_sa("PHY-SA"));
if (!nr_phy) {
srsran::console("Error creating LTE PHY instance.\n");
srsran::console("Error creating NR PHY instance.\n");
return SRSRAN_ERROR;
}
@ -104,7 +104,7 @@ int ue::init(const all_args_t& args_)
std::unique_ptr<srsue::dummy_phy> dummy_lte_phy = std::unique_ptr<srsue::dummy_phy>(new srsue::dummy_phy);
if (!dummy_lte_phy) {
srsran::console("Error creating LTE PHY instance.\n");
srsran::console("Error creating dummy LTE PHY instance.\n");
return SRSRAN_ERROR;
}