From dccf41703a487789355b1d4e229543d5bd6c6d77 Mon Sep 17 00:00:00 2001 From: Alex Badea Date: Wed, 2 Jan 2013 17:34:25 +0200 Subject: l23 sysinfo: defer SI4 CBCH mobile allocation until SI1 is received When parsing SI4, there's a check and a log message saying that CBCH MA is ignored until SI1 is received. Then the MA is decoded anyway -- incorrectly -- such that it remains incorrect even after receiving the next SI1. Fix that with an "else". Signed-off-by: Alex Badea Signed-off-by: Andreas Eversberg --- src/host/layer23/src/common/sysinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/host/layer23/src/common/sysinfo.c b/src/host/layer23/src/common/sysinfo.c index 2816c266..b42bd653 100644 --- a/src/host/layer23/src/common/sysinfo.c +++ b/src/host/layer23/src/common/sysinfo.c @@ -753,6 +753,7 @@ short_read: LOGP(DRR, LOGL_NOTICE, "Ignoring CBCH allocation of " "SYSTEM INFORMATION 4 until SI 1 is " "received.\n"); + } else { gsm48_decode_mobile_alloc(s->freq, data + 2, data[1], s->hopping, &s->hopp_len, 1); } -- cgit v1.2.3