Vadim Yanitskiy has uploaded this change for review. ( 
https://gerrit.osmocom.org/11057


Change subject: layer23/l1ctl.c: replace printf() calls by LOGP
......................................................................

layer23/l1ctl.c: replace printf() calls by LOGP

Change-Id: I863fb668500b2010dfef7a63217255fd010c06d7
---
M src/host/layer23/src/common/l1ctl.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/57/11057/1

diff --git a/src/host/layer23/src/common/l1ctl.c 
b/src/host/layer23/src/common/l1ctl.c
index 78e340b..eedfb93 100644
--- a/src/host/layer23/src/common/l1ctl.c
+++ b/src/host/layer23/src/common/l1ctl.c
@@ -194,7 +194,7 @@
                        if (meas->dsc > meas->ds_fail)
                                meas->dsc = meas->ds_fail;
                        if (meas->dsc < meas->ds_fail)
-                               printf("LOSS counter for CCCH %d\n", meas->dsc);
+                               LOGP(DL1C, LOGL_INFO, "LOSS counter for CCCH 
%d\n", meas->dsc);
                        if (meas->dsc > 0)
                                break;
                        meas->ds_fail = 0;
@@ -216,7 +216,7 @@
                        if (meas->s > meas->rl_fail)
                                meas->s = meas->rl_fail;
                        if (meas->s < meas->rl_fail)
-                               printf("LOSS counter for ACCH %d\n", meas->s);
+                               LOGP(DL1C, LOGL_NOTICE, "LOSS counter for ACCH 
%d\n", meas->s);
                        if (meas->s > 0)
                                break;
                        meas->rl_fail = 0;

--
To view, visit https://gerrit.osmocom.org/11057
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I863fb668500b2010dfef7a63217255fd010c06d7
Gerrit-Change-Number: 11057
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilira...@gmail.com>

Reply via email to