aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/codec_pref.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-04 11:50:10 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-09-04 17:43:41 +0000
commit9134d330f6ae76f23774c67d4cd787f945ce971b (patch)
treebe72a19726271a082ce5fb3441e68467588b3b2f /src/osmo-bsc/codec_pref.c
parentc0b6dd000e57b3c71be446d3161804daf95ea320 (diff)
codec_pref: Log HR2 specifically as never specified
Diffstat (limited to 'src/osmo-bsc/codec_pref.c')
-rw-r--r--src/osmo-bsc/codec_pref.c3
1 files changed, 2 insertions, 1 deletions
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",