diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-02-11 21:42:35 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-09-22 16:41:25 +0200 |
commit | b104aed5ec01fe27c0c2e0ddd988ba11608cb0bd (patch) | |
tree | acf5ecd826adeeeb85fe047f9578e0ad8e7657dd /src | |
parent | cd463dd72acbe2286dc33fa266ec081d75b57751 (diff) |
TRX: Fixed swapped stealing bits
Thanx to Sylvain for pointing to this bug.
Diffstat (limited to 'src')
-rw-r--r-- | src/osmo-bts-trx/tch_fr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/osmo-bts-trx/tch_fr.c b/src/osmo-bts-trx/tch_fr.c index 6b3be24c..cfaf18ba 100644 --- a/src/osmo-bts-trx/tch_fr.c +++ b/src/osmo-bts-trx/tch_fr.c @@ -120,10 +120,10 @@ tch_fr_burst_unmap(sbit_t *iB, sbit_t *eB, sbit_t *h, int odd) iB[i] = eB[i+2]; if (h && !odd) - *h = eB[57]; + *h = eB[58]; if (h && odd) - *h = eB[58]; + *h = eB[57]; } static void @@ -138,9 +138,9 @@ tch_fr_burst_map(ubit_t *iB, ubit_t *eB, ubit_t *h, int odd) eB[i+2] = iB[i]; if (h && !odd) - eB[57] = *h; - if (h && odd) eB[58] = *h; + if (h && odd) + eB[57] = *h; } /* this corresponds to the bit-lengths of the individual codec |