aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-03-03 09:02:57 +0100
committerOliver Smith <osmith@sysmocom.de>2023-03-03 09:05:37 +0100
commit5ea91cdae4fa7dcc861193c7e90aa39f2910f1e2 (patch)
tree88abff5254326a30f0a0c4ee636dcaa854190df0
parent881b6b2e6dd01bef91811e16cba5d5e4d7012a29 (diff)
test_codec_support_bts_rate: add missing breaks
Fixes: 3db22c61 ("cosmetic: clarify test_codec_support_bts()") Fixes: CID#310823 Change-Id: I951783b6310f0a6ef5546a36c962def9d6e66285
-rw-r--r--src/osmo-bsc/codec_pref.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bsc/codec_pref.c b/src/osmo-bsc/codec_pref.c
index 11421a9dd..2c9083134 100644
--- a/src/osmo-bsc/codec_pref.c
+++ b/src/osmo-bsc/codec_pref.c
@@ -188,9 +188,11 @@ static bool test_codec_support_bts_rate(const struct gsm_bts *bts, const bool fu
case GSM_PCHAN_TCH_F_PDCH:
if (full_rate)
return true;
+ break;
case GSM_PCHAN_TCH_H:
if (!full_rate)
return true;
+ break;
default:
continue;
}