trxcon: Print fn in prim_enqueue()

Change-Id: I3725a77cbfb116697c1287edbac9068e64768a19
This commit is contained in:
Pau Espin 2023-09-04 16:58:55 +02:00
parent 096a3cc6f3
commit c20f3f3f19
1 changed files with 4 additions and 4 deletions

View File

@ -368,9 +368,9 @@ static int prim_enqeue(struct l1sched_state *sched, struct msgb *msg,
if (OSMO_UNLIKELY(lchan == NULL || !lchan->active)) {
LOGP_SCHEDD(sched, LOGL_ERROR,
"No [active] lchan for primitive " L1SCHED_PRIM_STR_FMT " "
"(chan_nr=%02x, link_id=%02x, len=%u): %s\n",
"(fn=%u, chan_nr=%02x, link_id=%02x, len=%u): %s\n",
L1SCHED_PRIM_STR_ARGS(prim),
chdr->chan_nr, chdr->link_id,
chdr->frame_nr, chdr->chan_nr, chdr->link_id,
msgb_l2len(msg), msgb_hexdump_l2(msg));
msgb_free(msg);
return -ENODEV;
@ -378,9 +378,9 @@ static int prim_enqeue(struct l1sched_state *sched, struct msgb *msg,
LOGP_LCHAND(lchan, LOGL_DEBUG,
"Enqueue primitive " L1SCHED_PRIM_STR_FMT " "
"(chan_nr=%02x, link_id=%02x, len=%u): %s\n",
"(fn=%u, chan_nr=%02x, link_id=%02x, len=%u): %s\n",
L1SCHED_PRIM_STR_ARGS(prim),
chdr->chan_nr, chdr->link_id,
chdr->frame_nr, chdr->chan_nr, chdr->link_id,
msgb_l2len(msg), msgb_hexdump_l2(msg));
msgb_enqueue(&lchan->tx_prims, msg);