mobile/gsm48_rr.c: print name of channel mode

Change-Id: I615e89bdd7e1cc01b3258fefa26f7ab5705ae8cc
This commit is contained in:
Vadim Yanitskiy 2018-05-11 02:27:56 +07:00
parent bdb2854503
commit dfca1be498
1 changed files with 2 additions and 2 deletions

View File

@ -3431,8 +3431,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);
return 0;