msuraev has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/32410 )
Change subject: mobile: log unhandled event name ......................................................................
mobile: log unhandled event name
Change-Id: Id8e6e8af5756e3527ca1968b24f25e4238f0aa40 --- M src/host/layer23/src/mobile/gsm322.c 1 file changed, 11 insertions(+), 1 deletion(-)
Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved
diff --git a/src/host/layer23/src/mobile/gsm322.c b/src/host/layer23/src/mobile/gsm322.c index df26e82..80cb342 100644 --- a/src/host/layer23/src/mobile/gsm322.c +++ b/src/host/layer23/src/mobile/gsm322.c @@ -3835,7 +3835,8 @@ && ((1 << plmn->state) & plmnastatelist[i].states)) break; if (i == PLMNASLLEN) { - LOGP(DPLMN, LOGL_NOTICE, "Event unhandled at this state.\n"); + LOGP(DPLMN, LOGL_NOTICE, "Event %s unhandled in state %s.\n", + get_event_name(msg_type), get_a_state_name(plmn->state)); return 0; }