fixeria has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/33073 )

 (

1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted 
one.
 )Change subject: osmo-bts-trx: tch_dl_dequeue(): do not drop CSD frames
......................................................................

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

Change-Id: I382b9994db01d58515c89c8de6250cd3239b8861
Related: OS#1572
---
M src/osmo-bts-trx/sched_lchan_tchf.c
1 file changed, 12 insertions(+), 2 deletions(-)

Approvals:
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  Jenkins Builder: Verified




diff --git a/src/osmo-bts-trx/sched_lchan_tchf.c 
b/src/osmo-bts-trx/sched_lchan_tchf.c
index 7c2a05f..f065803 100644
--- a/src/osmo-bts-trx/sched_lchan_tchf.c
+++ b/src/osmo-bts-trx/sched_lchan_tchf.c
@@ -374,8 +374,8 @@
                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;
                }

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/33073
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I382b9994db01d58515c89c8de6250cd3239b8861
Gerrit-Change-Number: 33073
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to