aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-06-07 16:54:11 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-06-07 16:55:36 +0200
commit94e4265f07ead843e455d5085e13c186509a5081 (patch)
tree233b69adbddaea84b24635141247a4100a540413
parent15a5f8de00c9c11a985ab16279ffae02b1e4667f (diff)
fix gsm0808_permitted_speech(): don't return HR3 for TCH_F + AMR
-rw-r--r--include/osmocom/gsm/gsm0808_utils.h2
1 files changed, 1 insertions, 1 deletions
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: