From 96735bb4c95091e2d645e4c22c7d34290e2c3e1e Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Mon, 20 Jan 2014 13:04:13 +0100 Subject: TRX: Show which TRX does not respond or rejects a command --- src/osmo-bts-trx/trx_if.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/osmo-bts-trx/trx_if.c b/src/osmo-bts-trx/trx_if.c index e798ca53..bc80150b 100644 --- a/src/osmo-bts-trx/trx_if.c +++ b/src/osmo-bts-trx/trx_if.c @@ -175,7 +175,8 @@ static void trx_ctrl_timer_cb(void *data) { struct trx_l1h *l1h = data; - LOGP(DTRX, LOGL_NOTICE, "No response from transceiver\n"); + LOGP(DTRX, LOGL_NOTICE, "No response from transceiver for trx=%d\n", + l1h->trx->nr); trx_ctrl_send(l1h); } @@ -358,8 +359,8 @@ static int trx_ctrl_read_cb(struct osmo_fd *ofd, unsigned int what) sscanf(p + 1, "%d", &resp); if (resp) { LOGP(DTRX, (tcm->critical) ? LOGL_FATAL : LOGL_NOTICE, - "transceiver rejected TRX command with " - "response: '%s'\n", buf); + "transceiver (trx=%d) rejected TRX command " + "with response: '%s'\n", l1h->trx->nr, buf); rsp_error: if (tcm->critical) { bts_shutdown(l1h->trx->bts, "SIGINT"); -- cgit v1.2.3