test_codec_support_bts_rate: add missing breaks

Fixes: 3db22c61 ("cosmetic: clarify test_codec_support_bts()")
Fixes: CID#310823
Change-Id: I951783b6310f0a6ef5546a36c962def9d6e66285
This commit is contained in:
Oliver Smith 2023-03-03 09:02:57 +01:00
parent 881b6b2e6d
commit 5ea91cdae4
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}