summaryrefslogtreecommitdiffstats
path: root/src/host
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-05-30 15:24:42 +0200
committerVadim Yanitskiy <axilirator@gmail.com>2019-05-31 22:40:55 +0700
commit49bec6c4783522955985b0603fba949a4bafe19b (patch)
treee0eeff8ab44ee03e0a7f118fc6626a0a9bd1b02c /src/host
parentfd6c211eab32d489a304bb3ae63774887a3d6024 (diff)
trxcon/trx_if.c: Dropping UL bursts is a noticeable event
Therefore we should use LOGL_ERROR instead of LOGL_DEBUG. Change-Id: If5084feb9e847d212530b1a5985390405d91008b
Diffstat (limited to 'src/host')
-rw-r--r--src/host/trxcon/trx_if.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/host/trxcon/trx_if.c b/src/host/trxcon/trx_if.c
index ca78349a..55d70341 100644
--- a/src/host/trxcon/trx_if.c
+++ b/src/host/trxcon/trx_if.c
@@ -614,10 +614,11 @@ int trx_if_tx_burst(struct trx_instance *trx, uint8_t tn, uint32_t fn,
* We must be sure that we have clock,
* and we have sent all control data
*
- * TODO: should we wait in TRX_STATE_RSP_WAIT state?
+ * TODO: introduce proper state machines for both
+ * transceiver and its TRXC interface.
*/
if (trx->fsm->state != TRX_STATE_ACTIVE) {
- LOGP(DTRXD, LOGL_DEBUG, "Ignoring TX data, "
+ LOGP(DTRXD, LOGL_ERROR, "Ignoring TX data, "
"transceiver isn't ready\n");
return -EAGAIN;
}