pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmocom-bb/+/34309?usp=email )
Change subject: trxcon: Print fn in prim_enqueue()
......................................................................
trxcon: Print fn in prim_enqueue()
Change-Id: I3725a77cbfb116697c1287edbac9068e64768a19
---
M src/host/trxcon/src/sched_prim.c
1 file changed, 13 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/09/34309/1
diff --git a/src/host/trxcon/src/sched_prim.c b/src/host/trxcon/src/sched_prim.c
index c4c80f8..1baa125 100644
--- a/src/host/trxcon/src/sched_prim.c
+++ b/src/host/trxcon/src/sched_prim.c
@@ -368,9 +368,9 @@
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 @@
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);
--
To view, visit
https://gerrit.osmocom.org/c/osmocom-bb/+/34309?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I3725a77cbfb116697c1287edbac9068e64768a19
Gerrit-Change-Number: 34309
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange