aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libbsc/bsc_api.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libbsc/bsc_api.c b/src/libbsc/bsc_api.c
index 8ac822e93..d8159eb4a 100644
--- a/src/libbsc/bsc_api.c
+++ b/src/libbsc/bsc_api.c
@@ -360,7 +360,11 @@ static int chan_compat_with_mode(struct gsm_lchan *lchan, int chan_mode, int ful
* an explicit override by the 'full_rate' argument */
switch (lchan->type) {
case GSM_LCHAN_TCH_F:
- return 1;
+ if (full_rate)
+ return 1;
+ else
+ return 0;
+ break;
case GSM_LCHAN_TCH_H:
if (full_rate)
return 0;