aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-10-03 22:45:52 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-10-03 22:45:52 +0200
commit13947b3408fda0af5b1041e8eeb0328f5a45eb2c (patch)
tree69e80191739bf629a6c3ded16cde5c421a76d286
parent1009a87f3c0f8527290957aaf2ccc6f1a2cce531 (diff)
amr: Catch-up for the non-RTP mode after amr rename
-rw-r--r--src/osmo-bts-sysmo/tch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/tch.c b/src/osmo-bts-sysmo/tch.c
index 1ab36d0..a6ce0e1 100644
--- a/src/osmo-bts-sysmo/tch.c
+++ b/src/osmo-bts-sysmo/tch.c
@@ -282,7 +282,7 @@ static struct msgb *l1_to_rtppayload_amr(uint8_t *l1_payload, uint8_t payload_le
LOGP(DL1C, LOGL_NOTICE, "L1->RTP: overriding CMR IDX %u\n", cmr_idx);
cmr = AMR_CMR_NONE;
} else {
- cmr = amr_mrc->mode[cmr_idx].mode;
+ cmr = amr_mrc->bts_mode[cmr_idx].mode;
lchan->tch.last_cmr = cmr;
}