summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2023-04-23 15:50:17 +0300
committermsuraev <msuraev@sysmocom.de>2023-04-23 12:51:18 +0000
commit46f49131da7140ef40b6ab777d7513102077de4c (patch)
treebf42bab70c48e2e9cb940db7aa4d44b5331d83c1 /src/host/layer23/src
parentff9db9def78d9c2439c8ff3196746bf6df987886 (diff)
mobile: log unhandled event name
Diffstat (limited to 'src/host/layer23/src')
-rw-r--r--src/host/layer23/src/mobile/gsm322.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/host/layer23/src/mobile/gsm322.c b/src/host/layer23/src/mobile/gsm322.c
index df26e829..80cb3428 100644
--- a/src/host/layer23/src/mobile/gsm322.c
+++ b/src/host/layer23/src/mobile/gsm322.c
@@ -3835,7 +3835,8 @@ static int gsm322_a_event(struct osmocom_ms *ms, struct msgb *msg)
&& ((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;
}