From 296af7e297a9c323ff5c2e11b1aa70e245b3bce5 Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Fri, 31 Jan 2020 11:56:02 +0000 Subject: [PATCH] fix setting up nas log before all log configuration --- srsue/src/stack/upper/nas.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srsue/src/stack/upper/nas.cc b/srsue/src/stack/upper/nas.cc index 30056db11..728d60e51 100644 --- a/srsue/src/stack/upper/nas.cc +++ b/srsue/src/stack/upper/nas.cc @@ -226,7 +226,6 @@ proc_outcome_t nas::rrc_connect_proc::react(nas::rrc_connect_proc::connection_re ********************************************************************/ nas::nas(srslte::timer_handler* timers_) : - nas_log(logmap::get("NAS ")), pool(byte_buffer_pool::get_instance()), plmn_searcher(this), rrc_connector(this), @@ -238,9 +237,10 @@ nas::nas(srslte::timer_handler* timers_) : void nas::init(usim_interface_nas* usim_, rrc_interface_nas* rrc_, gw_interface_nas* gw_, const nas_args_t& cfg_) { - usim = usim_; - rrc = rrc_; - gw = gw_; + nas_log = logmap::get("NAS "); + usim = usim_; + rrc = rrc_; + gw = gw_; state = EMM_STATE_DEREGISTERED; if (!usim->get_home_plmn_id(&home_plmn)) {