xua_asp_send_xlm_prim(): use LOGPFSML() to print more context
The LOGPFSML() prints current state of an ASP FSM instance, which is useful for debugging. Change-Id: I28f3f89a8158bbedc224922a6ec151b1bbd6c7c0
This commit is contained in:
parent
ad9af625e5
commit
246f7cd881
|
@ -112,7 +112,7 @@ void xua_asp_send_xlm_prim(struct osmo_ss7_asp *asp, struct osmo_xlm_prim *prim)
|
||||||
if (lm && lm->prim_cb)
|
if (lm && lm->prim_cb)
|
||||||
lm->prim_cb(&prim->oph, asp);
|
lm->prim_cb(&prim->oph, asp);
|
||||||
else {
|
else {
|
||||||
LOGPASP(asp, DLSS7, LOGL_DEBUG, "No Layer Manager, dropping %s\n",
|
LOGPFSML(asp->fi, LOGL_DEBUG, "No Layer Manager, dropping %s\n",
|
||||||
osmo_xlm_prim_name(&prim->oph));
|
osmo_xlm_prim_name(&prim->oph));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue