[PATCH] 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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Wed Jan 17 14:33:17 UTC 2018


Review at  https://gerrit.osmocom.org/5853

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(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/53/5853/1

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: newchange
Gerrit-Change-Id: Ib573c86a1640640c2a61e80fe1f1412b30342b1a
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list