diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2014-01-20 13:04:13 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-09-22 16:41:30 +0200 |
commit | 3cfc9d5fa34bf144c7390c9b6d9ce867b4e5c2e4 (patch) | |
tree | 7d903b9abeddab0a20b56ef67d53ef5aef1c6677 /src | |
parent | a7d0c5ef5af04bb698d05785f0c9b1f20e687bca (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"); |