diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-10-10 13:44:23 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-10-10 13:44:23 +0200 |
commit | 2fb4a8d825a55135bcb3813e5cbe747a53780e1c (patch) | |
tree | af2e4fb993f72341a6ec0c3a7a9ab5974f5b87cf | |
parent | 0bbc56b8f3efa52f15fedcdabf69c3f49f6b1ce1 (diff) |
rsl_rx_chan-activ: Improve logging information
Change-Id: I9b9a666e195ea729503ecd707e1582268c190e09
-rw-r--r-- | src/common/rsl.c | 5 |
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 |