From 94e4265f07ead843e455d5085e13c186509a5081 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 7 Jun 2018 16:54:11 +0200 Subject: fix gsm0808_permitted_speech(): don't return HR3 for TCH_F + AMR Change-Id: Icca23940791f97fa64dbc3f2734270b99f9550c1 --- include/osmocom/gsm/gsm0808_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/osmocom') diff --git a/include/osmocom/gsm/gsm0808_utils.h b/include/osmocom/gsm/gsm0808_utils.h index 6555734f..242bce94 100644 --- a/include/osmocom/gsm/gsm0808_utils.h +++ b/include/osmocom/gsm/gsm0808_utils.h @@ -147,7 +147,7 @@ static inline enum gsm0808_permitted_speech gsm0808_permitted_speech(enum gsm_ch case GSM48_CMODE_SPEECH_AMR: switch (type) { case GSM_LCHAN_TCH_F: - return GSM0808_PERM_HR3; + return GSM0808_PERM_FR3; case GSM_LCHAN_TCH_H: return GSM0808_PERM_HR3; default: -- cgit v1.2.3