Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/11477 )

Change subject: layer23/l1ctl.c: fix: use host byte order for TDMA fn
......................................................................

layer23/l1ctl.c: fix: use host byte order for TDMA fn

Change-Id: Iad00eebf03b38b9c4fc2d7ed66697d23a953d8b2
---
M src/host/layer23/src/common/l1ctl.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/host/layer23/src/common/l1ctl.c 
b/src/host/layer23/src/common/l1ctl.c
index b3f73a8..96db52f 100644
--- a/src/host/layer23/src/common/l1ctl.c
+++ b/src/host/layer23/src/common/l1ctl.c
@@ -180,7 +180,7 @@
                         * - select correct paging block that is for us.
                         * - initialize ds_fail according to BS_PA_MFRMS.
                         */
-                       if ((dl->frame_nr % 51) != 6)
+                       if ((meas->last_fn % 51) != 6)
                                break;
                        if (!meas->ds_fail)
                                break;

--
To view, visit https://gerrit.osmocom.org/11477
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iad00eebf03b38b9c4fc2d7ed66697d23a953d8b2
Gerrit-Change-Number: 11477
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilira...@gmail.com>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)

Reply via email to