fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmocom-bb/+/36252?usp=email )
Change subject: trxcon: fix hex formatting in prim_enqeue()
......................................................................
trxcon: fix hex formatting in prim_enqeue()
Change-Id: I78c310bd9cc5d69bbeca575ebf4a480f16971e93
---
M src/host/trxcon/src/sched_prim.c
1 file changed, 11 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/52/36252/1
diff --git a/src/host/trxcon/src/sched_prim.c b/src/host/trxcon/src/sched_prim.c
index 1baa125..111c5f1 100644
--- a/src/host/trxcon/src/sched_prim.c
+++ b/src/host/trxcon/src/sched_prim.c
@@ -368,7 +368,7 @@
if (OSMO_UNLIKELY(lchan == NULL || !lchan->active)) {
LOGP_SCHEDD(sched, LOGL_ERROR,
"No [active] lchan for primitive " L1SCHED_PRIM_STR_FMT " "
- "(fn=%u, chan_nr=%02x, link_id=%02x, len=%u): %s\n",
+ "(fn=%u, chan_nr=0x%02x, link_id=0x%02x, len=%u): %s\n",
L1SCHED_PRIM_STR_ARGS(prim),
chdr->frame_nr, chdr->chan_nr, chdr->link_id,
msgb_l2len(msg), msgb_hexdump_l2(msg));
@@ -378,7 +378,7 @@
LOGP_LCHAND(lchan, LOGL_DEBUG,
"Enqueue primitive " L1SCHED_PRIM_STR_FMT " "
- "(fn=%u, chan_nr=%02x, link_id=%02x, len=%u): %s\n",
+ "(fn=%u, chan_nr=0x%02x, link_id=0x%02x, len=%u): %s\n",
L1SCHED_PRIM_STR_ARGS(prim),
chdr->frame_nr, chdr->chan_nr, chdr->link_id,
msgb_l2len(msg), msgb_hexdump_l2(msg));
--
To view, visit
https://gerrit.osmocom.org/c/osmocom-bb/+/36252?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: I78c310bd9cc5d69bbeca575ebf4a480f16971e93
Gerrit-Change-Number: 36252
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange