aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-14 17:14:29 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-14 17:15:54 +0800
commitdbac9295e7d9fa5d2f4b2d85473627259576bd04 (patch)
treea3eb6e7e5d980b2713a301c5045145cea4f35ffc
parent9f972a5fb01d98c920f577c60e5995bd42a3a26e (diff)
chan_alloc: Swicth to LOGP from DEBUGP
-rw-r--r--openbsc/src/chan_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/chan_alloc.c b/openbsc/src/chan_alloc.c
index c6d4e9bcc..1a189fb3c 100644
--- a/openbsc/src/chan_alloc.c
+++ b/openbsc/src/chan_alloc.c
@@ -426,11 +426,11 @@ int rsl_lchan_rll_release(struct gsm_lchan *lchan, u_int8_t link_id)
int _lchan_release(struct gsm_lchan *lchan, u_int8_t release_reason)
{
if (lchan->conn.use_count > 0) {
- DEBUGP(DRLL, "BUG: _lchan_release called without zero use_count.\n");
+ LOGP(DRLL, LOGL_ERROR, "BUG: _lchan_release called without zero use_count.\n");
return 0;
}
- DEBUGP(DRLL, "%s Recycling Channel\n", gsm_lchan_name(lchan));
+ LOGP(DRLL, LOGL_NOTICE, "%s Recycling Channel.\n", gsm_lchan_name(lchan));
rsl_lchan_set_state(lchan, LCHAN_S_REL_REQ);
lchan->release_reason = release_reason;
_lchan_handle_release(lchan);