diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2014-01-20 13:04:13 +0100 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2014-04-06 08:58:31 +0200 |
commit | 96735bb4c95091e2d645e4c22c7d34290e2c3e1e (patch) | |
tree | 67d12ddc7502a99b2fa46d4a4d9e50e1d03ae046 /src | |
parent | eeff81eb07c271bde2fccea75e0db7d3f228faf3 (diff) |
TRX: Show which TRX does not respond or rejects a command
Diffstat (limited to 'src')
-rw-r--r-- | src/osmo-bts-trx/trx_if.c | 7 |
1 files changed, 4 insertions, 3 deletions
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"); |