fixeria has submitted this change. ( 
https://gerrit.osmocom.org/c/osmocom-bb/+/35766?usp=email )

Change subject: trxcon/l1gprs: print dropped prims in l1sched_reset_lchan()
......................................................................

trxcon/l1gprs: print dropped prims in l1sched_reset_lchan()

Change-Id: Iaa11b5cee16dc43ef01c38be756864c2b3b57835
---
M src/host/trxcon/src/sched_trx.c
1 file changed, 15 insertions(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved
  Jenkins Builder: Verified




diff --git a/src/host/trxcon/src/sched_trx.c b/src/host/trxcon/src/sched_trx.c
index d07a579..f412400 100644
--- a/src/host/trxcon/src/sched_trx.c
+++ b/src/host/trxcon/src/sched_trx.c
@@ -525,8 +525,13 @@
        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)) {

--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/35766?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: Iaa11b5cee16dc43ef01c38be756864c2b3b57835
Gerrit-Change-Number: 35766
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanits...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanits...@sysmocom.de>
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-MessageType: merged

Reply via email to