aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/rsl.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-10-10 13:44:23 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-10-10 13:44:23 +0200
commit2fb4a8d825a55135bcb3813e5cbe747a53780e1c (patch)
treeaf2e4fb993f72341a6ec0c3a7a9ab5974f5b87cf /src/common/rsl.c
parent0bbc56b8f3efa52f15fedcdabf69c3f49f6b1ce1 (diff)
rsl_rx_chan-activ: Improve logging information
Diffstat (limited to 'src/common/rsl.c')
-rw-r--r--src/common/rsl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c
index 601b1c1a..b2217548 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -1154,8 +1154,9 @@ static int rsl_rx_chan_activ(struct msgb *msg)
/* 9.3.53 MultiRate Control */
/* 9.3.54 Supported Codec Types */
- LOGP(DRSL, LOGL_INFO, " chan_nr=0x%02x type=0x%02x mode=0x%02x\n",
- dch->chan_nr, type, lchan->tch_mode);
+ LOGP(DRSL, LOGL_INFO, "%s: chan_nr=%s type=0x%02x mode=%s\n",
+ gsm_lchan_name(lchan), rsl_chan_nr_str(dch->chan_nr), type,
+ gsm48_chan_mode_name(lchan->tch_mode));
/* Connecting PDCH on dyn TS goes via PCU instead. */
if (ts->pchan == GSM_PCHAN_TCH_F_TCH_H_PDCH