summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-12-23 11:14:46 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2016-09-25 08:11:45 +0200
commitcffc0dcb958c50c34d9809099e64485a955c8df9 (patch)
tree7169a2cbea1c50defd6b22eda0ed1c934a3a8643
parentaf3a1221b27c93770d11c6055ad017ab057f8b2a (diff)
Bad frame indication at l1ctrl.c: Replaced printf-hack by LOGP
-rw-r--r--src/host/layer23/src/common/l1ctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/host/layer23/src/common/l1ctl.c b/src/host/layer23/src/common/l1ctl.c
index 6fca8ad..70fefec 100644
--- a/src/host/layer23/src/common/l1ctl.c
+++ b/src/host/layer23/src/common/l1ctl.c
@@ -245,8 +245,7 @@ static int rx_ph_data_ind(struct osmocom_ms *ms, struct msgb *msg)
}
if (dl->fire_crc >= 2) {
-printf("Dropping frame with %u bit errors\n", dl->num_biterr);
- LOGP(DL1C, LOGL_NOTICE, "Dropping frame with %u bit errors\n",
+ LOGP(DRR, LOGL_NOTICE, "Bad frame frame with %u bit errors\n",
dl->num_biterr);
msgb_free(msg);
return 0;