diff --git a/srsue/src/stack/upper/nas_5gmm_state.cc b/srsue/src/stack/upper/nas_5gmm_state.cc index cc8ba316e..5a94e3511 100644 --- a/srsue/src/stack/upper/nas_5gmm_state.cc +++ b/srsue/src/stack/upper/nas_5gmm_state.cc @@ -70,10 +70,9 @@ const std::string mm5g_state_t::get_full_state_text() } else if (state == state_t::registered) { return mm5g_state_text(state) + std::string(", with substate ") + mm5g_registered_substate_text(registered_substate); - } else { - return mm5g_state_text(state); } - return std::string("Invalid State"); + + return mm5g_state_text(state); } /*