summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/host/trxcon/src/sched_trx.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/host/trxcon/src/sched_trx.c b/src/host/trxcon/src/sched_trx.c
index d07a5791..f4124003 100644
--- a/src/host/trxcon/src/sched_trx.c
+++ b/src/host/trxcon/src/sched_trx.c
@@ -525,8 +525,13 @@ static void l1sched_reset_lchan(struct l1sched_lchan_state *lchan)
lchan->tx_bursts = NULL;
/* Flush the queue of pending Tx prims */
- while ((msg = msgb_dequeue(&lchan->tx_prims)) != NULL)
+ while ((msg = msgb_dequeue(&lchan->tx_prims)) != NULL) {
+ const struct l1sched_prim *prim = l1sched_prim_from_msgb(msg);
+
+ LOGP_LCHANC(lchan, LOGL_NOTICE, "%s(): dropping Tx prim (fn=%u): %s\n",
+ __func__, prim->data_req.frame_nr, msgb_hexdump_l2(msg));
msgb_free(msg);
+ }
/* Channel specific stuff */
if (L1SCHED_CHAN_IS_TCH(lchan->type)) {