[MERGED] osmo-bts[master]: bts-trx: trx_if.c: Log timedout+retransmitted CMD

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Jan 19 15:07:21 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: bts-trx: trx_if.c: Log timedout+retransmitted CMD
......................................................................


bts-trx: trx_if.c: Log timedout+retransmitted CMD

Change-Id: Ib573c86a1640640c2a61e80fe1f1412b30342b1a
---
M src/osmo-bts-trx/trx_if.c
1 file changed, 7 insertions(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bts-trx/trx_if.c b/src/osmo-bts-trx/trx_if.c
index 57fd953..8123de0 100644
--- a/src/osmo-bts-trx/trx_if.c
+++ b/src/osmo-bts-trx/trx_if.c
@@ -167,9 +167,14 @@
 static void trx_ctrl_timer_cb(void *data)
 {
 	struct trx_l1h *l1h = data;
+	struct trx_ctrl_msg *tcm = NULL;
 
-	LOGP(DTRX, LOGL_NOTICE, "No response from transceiver for %s\n",
-		phy_instance_name(l1h->phy_inst));
+	/* get first command */
+	OSMO_ASSERT(!llist_empty(&l1h->trx_ctrl_list));
+	tcm = llist_entry(l1h->trx_ctrl_list.next, struct trx_ctrl_msg, list);
+
+	LOGP(DTRX, LOGL_NOTICE, "No response from transceiver for %s (%s)\n",
+		phy_instance_name(l1h->phy_inst), tcm->cmd);
 
 	trx_ctrl_send(l1h);
 }

-- 
To view, visit https://gerrit.osmocom.org/5853
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib573c86a1640640c2a61e80fe1f1412b30342b1a
Gerrit-PatchSet: 2
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list