From 9a57c7bed4c096ccff4f9fc78b7ef789eeb18360 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 16 Jan 2018 19:16:53 +0100 Subject: bts-trx: trx_if.c: Log timedout+retransmitted CMD Change-Id: Ib573c86a1640640c2a61e80fe1f1412b30342b1a --- src/osmo-bts-trx/trx_if.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/osmo-bts-trx/trx_if.c') diff --git a/src/osmo-bts-trx/trx_if.c b/src/osmo-bts-trx/trx_if.c index 57fd953a..8123de03 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_send(struct trx_l1h *l1h) 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); } -- cgit v1.2.3