log: rsl_rx_chan_activ: show chan type as human readable string

Change-Id: I3acf6c18309d3b4093dbc295be622363cb6dbcdc
This commit is contained in:
Neels Hofmeyr 2020-11-08 20:22:45 +00:00 committed by laforge
parent 6904d7dd5d
commit 7233fa8623
1 changed files with 4 additions and 2 deletions

View File

@ -1309,8 +1309,10 @@ static int rsl_rx_chan_activ(struct msgb *msg)
/* 9.3.53 MultiRate Control */
/* 9.3.54 Supported Codec Types */
LOGPLCHAN(lchan, DRSL, LOGL_INFO, "chan_nr=%s type=0x%02x mode=%s\n",
rsl_chan_nr_str(dch->chan_nr), type, gsm48_chan_mode_name(lchan->tch_mode));
LOGPLCHAN(lchan, DRSL, LOGL_INFO, "chan_nr=%s type=0x%02x=%s mode=%s\n",
rsl_chan_nr_str(dch->chan_nr),
type, get_value_string(rsl_act_type_names, 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