diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-12-16 16:33:17 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2017-12-16 16:33:17 +0700 |
commit | 60ff614446fedc7b12767d9520abfc529a65fc7e (patch) | |
tree | a92b1ac7eb91371a87935505fad0fb1d0ffe5700 | |
parent | a9c2ef2638523d62f1f9eecb1c6c326f4c6519b6 (diff) |
host/trxcon/scheduler: always print error messages
Some error messages previously had incorrect logging level 'debug'.
We aren't going to hide anything, right? Let's print them!
Change-Id: I85fb37292046b667386bfe26b9bbb000600e1c6f
-rw-r--r-- | src/host/trxcon/sched_lchan_sch.c | 2 | ||||
-rw-r--r-- | src/host/trxcon/sched_lchan_tchf.c | 4 | ||||
-rw-r--r-- | src/host/trxcon/sched_lchan_xcch.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/host/trxcon/sched_lchan_sch.c b/src/host/trxcon/sched_lchan_sch.c index 6b4543f5..e66cad4d 100644 --- a/src/host/trxcon/sched_lchan_sch.c +++ b/src/host/trxcon/sched_lchan_sch.c @@ -87,7 +87,7 @@ int rx_sch_fn(struct trx_instance *trx, struct trx_ts *ts, /* Attempt to decode */ rc = gsm0503_sch_decode(sb_info, payload); if (rc) { - LOGP(DSCHD, LOGL_DEBUG, "Received bad SCH burst at fn=%u\n", fn); + LOGP(DSCHD, LOGL_ERROR, "Received bad SCH burst at fn=%u\n", fn); return rc; } diff --git a/src/host/trxcon/sched_lchan_tchf.c b/src/host/trxcon/sched_lchan_tchf.c index a0adf69c..7860007c 100644 --- a/src/host/trxcon/sched_lchan_tchf.c +++ b/src/host/trxcon/sched_lchan_tchf.c @@ -96,7 +96,7 @@ int rx_tchf_fn(struct trx_instance *trx, struct trx_ts *ts, /* Check for complete set of bursts */ if ((*mask & 0xf) != 0xf) { - LOGP(DSCHD, LOGL_DEBUG, "Received incomplete traffic frame at " + LOGP(DSCHD, LOGL_ERROR, "Received incomplete traffic frame at " "fn=%u (%u/%u) for %s\n", *first_fn, (*first_fn) % ts->mf_layout->period, ts->mf_layout->period, @@ -143,7 +143,7 @@ int rx_tchf_fn(struct trx_instance *trx, struct trx_ts *ts, /* Check decoding result */ if (rc < 4) { - LOGP(DSCHD, LOGL_DEBUG, "Received bad TCH frame ending at " + LOGP(DSCHD, LOGL_ERROR, "Received bad TCH frame ending at " "fn=%u for %s\n", fn, lchan_desc->name); l2_len = sched_bad_frame_ind(l2, rsl_cmode, tch_mode); diff --git a/src/host/trxcon/sched_lchan_xcch.c b/src/host/trxcon/sched_lchan_xcch.c index 1b7c4da3..31290978 100644 --- a/src/host/trxcon/sched_lchan_xcch.c +++ b/src/host/trxcon/sched_lchan_xcch.c @@ -91,7 +91,7 @@ int rx_data_fn(struct trx_instance *trx, struct trx_ts *ts, /* Check for complete set of bursts */ if ((*mask & 0xf) != 0xf) { - LOGP(DSCHD, LOGL_DEBUG, "Received incomplete data frame at " + LOGP(DSCHD, LOGL_ERROR, "Received incomplete data frame at " "fn=%u (%u/%u) for %s\n", *first_fn, (*first_fn) % ts->mf_layout->period, ts->mf_layout->period, @@ -103,7 +103,7 @@ int rx_data_fn(struct trx_instance *trx, struct trx_ts *ts, /* Attempt to decode */ rc = gsm0503_xcch_decode(l2, buffer, &n_errors, &n_bits_total); if (rc) { - LOGP(DSCHD, LOGL_DEBUG, "Received bad data frame at fn=%u " + LOGP(DSCHD, LOGL_ERROR, "Received bad data frame at fn=%u " "(%u/%u) for %s\n", *first_fn, (*first_fn) % ts->mf_layout->period, ts->mf_layout->period, |