From 9134d330f6ae76f23774c67d4cd787f945ce971b Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 4 Sep 2018 11:50:10 +0200 Subject: codec_pref: Log HR2 specifically as never specified Change-Id: Ia7d6545710b4bf609c2872e13dcb3b44abfc604e --- src/osmo-bsc/codec_pref.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osmo-bsc/codec_pref.c b/src/osmo-bsc/codec_pref.c index 212c2a6a9..cbe8ef424 100644 --- a/src/osmo-bsc/codec_pref.c +++ b/src/osmo-bsc/codec_pref.c @@ -35,7 +35,6 @@ static enum gsm48_chan_mode gsm88_to_chan_mode(enum gsm0808_permitted_speech spe case GSM0808_PERM_FR1: return GSM48_CMODE_SPEECH_V1; break; - case GSM0808_PERM_HR2: case GSM0808_PERM_FR2: return GSM48_CMODE_SPEECH_EFR; break; @@ -43,6 +42,8 @@ static enum gsm48_chan_mode gsm88_to_chan_mode(enum gsm0808_permitted_speech spe case GSM0808_PERM_FR3: return GSM48_CMODE_SPEECH_AMR; break; + case GSM0808_PERM_HR2: + LOGP(DMSC, LOGL_FATAL, "Speech HR2 was never specified!\n"); default: LOGP(DMSC, LOGL_FATAL, "Unsupported permitted speech %s selected, " "assuming AMR as channel mode...\n", -- cgit v1.2.3