aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-10-13 11:45:56 +0200
committerMax <msuraev@sysmocom.de>2016-10-13 11:45:56 +0200
commitde9dbe7958c32f58e39ad7b415ab2a48f876893b (patch)
tree7eedef910c902ec66197497fe646a04fb4d1c49b
parentbabd05661d13b12234e848acf9c4bff909ef05f4 (diff)
TRX: fix building with latest DTX changes
Bring up-to-speed with latest changes in OpenBSC. Change-Id: I16b24b2cd09600e215de163e7b5baae329887c9e
-rw-r--r--src/osmo-bts-trx/scheduler_trx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index 02e7aba8..463630cd 100644
--- a/src/osmo-bts-trx/scheduler_trx.c
+++ b/src/osmo-bts-trx/scheduler_trx.c
@@ -1123,7 +1123,7 @@ bfi:
/* indicate bad frame */
switch (tch_mode) {
case GSM48_CMODE_SPEECH_V1: /* FR */
- if (lchan->tch.ul_sid)
+ if (lchan->tch.dtx.ul_sid)
return 0; /* DTXu: pause in progress */
memset(tch_data, 0, GSM_FR_BYTES);
rc = GSM_FR_BYTES;
@@ -1297,7 +1297,7 @@ bfi:
/* indicate bad frame */
switch (tch_mode) {
case GSM48_CMODE_SPEECH_V1: /* HR */
- if (lchan->tch.ul_sid)
+ if (lchan->tch.dtx.ul_sid)
return 0; /* DTXu: pause in progress */
tch_data[0] = 0x70; /* F = 0, FT = 111 */
memset(tch_data + 1, 0, 14);