diff options
author | Jean-Francois Dionne <jf.dionne@nutaq.com> | 2017-01-10 10:18:24 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-01-10 23:28:19 +0000 |
commit | b76043e6f467bfba62c2c24a8d8553938d9205c1 (patch) | |
tree | f2541907dd0eb3d7dd982aca1fee72fc93711882 /src/osmo-bts-litecell15 | |
parent | de6d25e21d9a2e553fe53c50f2a9f372a28eeb16 (diff) |
DTX: fix SID-FIRST detection
Max's note: made similar modification to osmo-bts-sysmo/tch.c
Change-Id: I76e62783b73803dfc0d32693a68020a9d89878b8
Related: OS#1801
Diffstat (limited to 'src/osmo-bts-litecell15')
-rw-r--r-- | src/osmo-bts-litecell15/tch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-litecell15/tch.c b/src/osmo-bts-litecell15/tch.c index a47a88f6..4b22b64f 100644 --- a/src/osmo-bts-litecell15/tch.c +++ b/src/osmo-bts-litecell15/tch.c @@ -363,7 +363,7 @@ int l1if_tch_rx(struct gsm_bts_trx *trx, uint8_t chan_nr, struct msgb *l1p_msg) GsmL1_PhDataInd_t *data_ind = &l1p->u.phDataInd; uint8_t payload_type = data_ind->msgUnitParam.u8Buffer[0]; uint8_t *payload = data_ind->msgUnitParam.u8Buffer + 1; - uint8_t payload_len, sid_first[7] = {0}; + uint8_t payload_len, sid_first[9] = { 0 }; struct msgb *rmsg = NULL; struct gsm_lchan *lchan = &trx->ts[L1SAP_CHAN2TS(chan_nr)].lchan[l1sap_chan2ss(chan_nr)]; |