summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-05-11 02:27:56 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-10-03 18:43:07 +0700
commitdfca1be49890f166c699eb798ec8539d2b006eef (patch)
tree95b76ecb3a26b957a91fa42ebd8edc70373d60cf
parentbdb2854503afde3ee215f24b1b17b4d12e1c3c44 (diff)
mobile/gsm48_rr.c: print name of channel mode
-rw-r--r--src/host/layer23/src/mobile/gsm48_rr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/layer23/src/mobile/gsm48_rr.c b/src/host/layer23/src/mobile/gsm48_rr.c
index a4cc28a0..8b7beab3 100644
--- a/src/host/layer23/src/mobile/gsm48_rr.c
+++ b/src/host/layer23/src/mobile/gsm48_rr.c
@@ -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;