codec_pref: Log HR2 specifically as never specified
Change-Id: Ia7d6545710b4bf609c2872e13dcb3b44abfc604e
diff --git a/src/osmo-bsc/codec_pref.c b/src/osmo-bsc/codec_pref.c
index 212c2a6..cbe8ef4 100644
--- a/src/osmo-bsc/codec_pref.c
+++ b/src/osmo-bsc/codec_pref.c
@@ -35,7 +35,6 @@
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 @@
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",