jolly has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmocom-bb/+/35213?usp=email )


Change subject: Correctly initialize neighbor cell measurement list from SI5*
......................................................................

Correctly initialize neighbor cell measurement list from SI5*

A wrong index was used, causing the first neighbor cell to be
uninitialized. This uninitialized neighbor cell was reported by
MEASUREMENT REPORT.

Related: OS#6280
Change-Id: I192c0777450cbe24abb3c7c8736c678b97725e9f
---
M src/host/layer23/src/mobile/gsm48_rr.c
1 file changed, 15 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/13/35213/1

diff --git a/src/host/layer23/src/mobile/gsm48_rr.c 
b/src/host/layer23/src/mobile/gsm48_rr.c
index 6ba57e3..52c6a73 100644
--- a/src/host/layer23/src/mobile/gsm48_rr.c
+++ b/src/host/layer23/src/mobile/gsm48_rr.c
@@ -2610,7 +2610,7 @@
                refer_pcs = gsm_refer_pcs(cs->arfcn, s);

                /* Collect channels from freq list in correct order. */
-               for (i = 1; i < 32; i++) {
+               for (i = 0; i < 32; i++) {
                        arfcn = arfcn_from_freq_index(s, i);
                        if (arfcn < 0)
                                break;

--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/35213?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I192c0777450cbe24abb3c7c8736c678b97725e9f
Gerrit-Change-Number: 35213
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <[email protected]>
Gerrit-MessageType: newchange

Reply via email to