mobile: log state/event details on error
Change-Id: I24a4635e9a9a0984c0e1036e8b6ea19b08a06223
This commit is contained in:
parent
9a9fca7e1d
commit
e2930dad35
|
@ -4319,7 +4319,8 @@ static int gsm48_mm_ev(struct osmocom_ms *ms, int msg_type, struct msgb *msg)
|
|||
&& ((1 << mm->substate) & eventstatelist[i].substates))
|
||||
break;
|
||||
if (i == EVENTSLLEN) {
|
||||
LOGP(DMM, LOGL_NOTICE, "Message unhandled at this state.\n");
|
||||
LOGP(DMM, LOGL_NOTICE, "Message %s unhandled in state %s.\n",
|
||||
get_mmevent_name(msg_type), gsm48_mm_state_names[mm->state]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue