summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-12-23 11:14:46 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2015-12-25 09:33:09 +0100
commit9ab35dba8dd49a018619db0830e02898d5263377 (patch)
treeea5e30d715cf704ef12af9f64e63028cf96c7088
parent90a756b8258b86f2df49bcb314af0ea4fe2d4f64 (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 6fca8ade..70fefec5 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;