diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2012-07-12 15:54:06 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2012-07-12 15:54:06 +0200 |
commit | 24df176826b3c7b445c34c5a6ae106d0892c9052 (patch) | |
tree | 6dbf2cc096ef18ab87294070913366e0745f7042 /src | |
parent | 1362a21df41d7856f6932431762459edddd7fdc6 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/host/layer23/src/common/sysinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/layer23/src/common/sysinfo.c b/src/host/layer23/src/common/sysinfo.c index b26bfe24..99c25364 100644 --- a/src/host/layer23/src/common/sysinfo.c +++ b/src/host/layer23/src/common/sysinfo.c @@ -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 */ |