mobile: gsm48_rr_set_mode(): print name of channel mode

Change-Id: I615e89bdd7e1cc01b3258fefa26f7ab5705ae8cc
Related: OS#5599
This commit is contained in:
Vadim Yanitskiy 2018-05-11 02:27:56 +07:00 committed by Vadim Yanitskiy
parent c1d3c01768
commit 73da4bac97
1 changed files with 2 additions and 2 deletions

View File

@ -3470,8 +3470,8 @@ static int gsm48_rr_set_mode(struct osmocom_ms *ms, uint8_t chan_nr,
return -ENOTSUP;
/* setting (new) timing advance */
LOGP(DRR, LOGL_INFO, "setting TCH mode to %d, audio mode to %d\n",
mode, rr->audio_mode);
LOGP(DRR, LOGL_INFO, "setting TCH mode to %s, audio mode to %d\n",
get_value_string(gsm48_chan_mode_names, mode), rr->audio_mode);
l1ctl_tx_tch_mode_req(ms, mode, rr->audio_mode, rr->tch_loop_mode);
return 0;