diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2015-04-04 13:42:57 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2015-04-04 13:54:30 +0200 |
commit | d4aba57dc3206cb0221f38ac5b9eb1b94c7fd4d0 (patch) | |
tree | b7ef7d42e7a1da433385dd4b9b887eae18f8feac | |
parent | 810984f26f0c37dfdfa428963d803c9883e23540 (diff) |
l1/rach: Clear up the unused bits in gmr1_rach_decode return array
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r-- | src/l1/rach.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/l1/rach.c b/src/l1/rach.c index cbc5042..2515282 100644 --- a/src/l1/rach.c +++ b/src/l1/rach.c @@ -187,6 +187,8 @@ gmr1_rach_decode(uint8_t *rach, const sbit_t *bits_e, uint8_t sb_mask, } /* CRC removal & packing */ + rach[17] = 0x00; + osmo_ubit2pbit_ext(rach, 0, bits_u1, 0, 16, 1); osmo_ubit2pbit_ext(rach, 16, bits_u2, 0, 123, 1); |