osmo-bts-trx: tch_dl_dequeue(): do not drop CSD frames

Change-Id: I382b9994db01d58515c89c8de6250cd3239b8861
Related: OS#1572
This commit is contained in:
Vadim Yanitskiy 2023-05-27 22:49:08 +07:00 committed by fixeria
parent 405368b697
commit 3302d4adfe
1 changed files with 2 additions and 2 deletions

View File

@ -374,8 +374,8 @@ struct msgb *tch_dl_dequeue(struct l1sched_ts *l1ts, struct trx_dl_burst_req *br
int8_t sti, cmi;
bool amr_is_cmr;
if (rsl_cmode != RSL_CMOD_SPD_SPEECH) {
LOGL1SB(DL1P, LOGL_NOTICE, l1ts, br, "Dropping speech frame, "
if (OSMO_UNLIKELY(rsl_cmode == RSL_CMOD_SPD_SIGN)) {
LOGL1SB(DL1P, LOGL_NOTICE, l1ts, br, "Dropping a TCH frame, "
"because we are not in speech mode\n");
goto free_bad_msg;
}