Change in osmocom-bb[master]: layer23/l1ctl.c: fix: use host byte order for TDMA fn

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Oct 29 23:19:26 UTC 2018


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 <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181029/70f16d08/attachment.htm>


More information about the gerrit-log mailing list