diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-05-27 22:49:08 +0700 |
---|---|---|
committer | fixeria <vyanitskiy@sysmocom.de> | 2023-05-30 11:08:25 +0000 |
commit | 3302d4adfe7c01923657284f35527871852b83fe (patch) | |
tree | 606738f51462b45eff3d4403bc045c3e30aab471 | |
parent | 405368b6974e4da9b0775f557330833e13f069d4 (diff) |
osmo-bts-trx: tch_dl_dequeue(): do not drop CSD frames
Change-Id: I382b9994db01d58515c89c8de6250cd3239b8861
Related: OS#1572
-rw-r--r-- | src/osmo-bts-trx/sched_lchan_tchf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bts-trx/sched_lchan_tchf.c b/src/osmo-bts-trx/sched_lchan_tchf.c index 7c2a05f7..f0658038 100644 --- a/src/osmo-bts-trx/sched_lchan_tchf.c +++ b/src/osmo-bts-trx/sched_lchan_tchf.c @@ -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; } |