From 5f72f6fccc50412acc7d0a2e921bb723a2105d63 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 25 May 2017 19:16:40 +0200 Subject: Use new e1inp_signal_names from libosmo-abis to print input signal names Change-Id: I156027ecdd1456228c9f8776577edd48e70c19da --- openbsc/src/libbsc/bsc_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 50c73db03..520b2e24e 100644 --- a/openbsc/src/libbsc/bsc_init.c +++ b/openbsc/src/libbsc/bsc_init.c @@ -324,9 +324,10 @@ static int inp_sig_cb(unsigned int subsys, unsigned int signal, if (subsys != SS_L_INPUT) return -EINVAL; + LOGP(DLMI, LOGL_DEBUG, "%s(): Input signal '%s' received\n", __func__, + get_value_string(e1inp_signal_names, 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. */ @@ -351,7 +352,6 @@ 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