layer23: Fixed size of power offset (SI 3 rest octets)

This is importaint on certan cells to finish BCCH scanning. If SI2ter
indication is falsely detected, BCCH reading will timeout, because no
expected SI2ter is received.
This commit is contained in:
Andreas Eversberg 2012-07-12 15:54:06 +02:00
parent 1362a21df4
commit 24df176826
1 changed files with 1 additions and 1 deletions

View File

@ -533,7 +533,7 @@ static int gsm48_decode_si3_rest(struct gsm48_sysinfo *s, uint8_t *si,
/* Optional Power Offset */
if (bitvec_get_bit_high(&bv) == H) {
s->po = 1;
s->po_value = bitvec_get_uint(&bv, 3);
s->po_value = bitvec_get_uint(&bv, 2);
} else
s->po = 0;
/* System Onformation 2ter Indicator */