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:
Vadim Yanitskiy 2024-02-17 19:19:24 +07:00
parent ad9af625e5
commit 246f7cd881
1 changed files with 2 additions and 2 deletions

View File

@ -112,8 +112,8 @@ void xua_asp_send_xlm_prim(struct osmo_ss7_asp *asp, struct osmo_xlm_prim *prim)
if (lm && lm->prim_cb)
lm->prim_cb(&prim->oph, asp);
else {
LOGPASP(asp, DLSS7, LOGL_DEBUG, "No Layer Manager, dropping %s\n",
osmo_xlm_prim_name(&prim->oph));
LOGPFSML(asp->fi, LOGL_DEBUG, "No Layer Manager, dropping %s\n",
osmo_xlm_prim_name(&prim->oph));
}
msgb_free(prim->oph.msg);