From 94bbc73bce304609124e9f617953a11634905d58 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Thu, 8 Dec 2016 17:34:12 +0100 Subject: libbsc: add debug log message to S_L_INP_* callbacks Improve debug log output of input callbacks by adding a line containing the signal event name. Change-Id: Ifca46dd8b356d0de31cccbd79e406079d3a0d7d2 --- openbsc/src/libbsc/bsc_init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/src/libbsc/bsc_init.c') diff --git a/openbsc/src/libbsc/bsc_init.c b/openbsc/src/libbsc/bsc_init.c index cda435044..2af846e72 100644 --- a/openbsc/src/libbsc/bsc_init.c +++ b/openbsc/src/libbsc/bsc_init.c @@ -320,6 +320,7 @@ static int inp_sig_cb(unsigned int subsys, unsigned int signal, switch (signal) { case S_L_INP_TEI_UP: + LOGP(DLMI, LOGL_DEBUG, "%s() signal: S_L_INP_TEI_UP\n", __func__); if (isd->link_type == E1INP_SIGN_OML) { /* TODO: this is required for the Nokia BTS, hopping is configured during OML, other MA is not set. */ @@ -344,6 +345,7 @@ static int inp_sig_cb(unsigned int subsys, unsigned int signal, bootstrap_rsl(trx); break; case S_L_INP_TEI_DN: + LOGP(DLMI, LOGL_DEBUG, "%s() signal: S_L_INP_TEI_DN\n", __func__); LOGP(DLMI, LOGL_ERROR, "Lost some E1 TEI link: %d %p\n", isd->link_type, trx); if (isd->link_type == E1INP_SIGN_OML) -- cgit v1.2.3