From d350e9f30c3b5f77363124308dfdfbc0ef3bd35c Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sat, 27 Oct 2018 05:54:15 +0700 Subject: layer23/l1ctl.c: fix: use host byte order for TDMA fn Change-Id: Iad00eebf03b38b9c4fc2d7ed66697d23a953d8b2 --- src/host/layer23/src/common/l1ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host/layer23/src/common/l1ctl.c b/src/host/layer23/src/common/l1ctl.c index b3f73a81..96db52fb 100644 --- a/src/host/layer23/src/common/l1ctl.c +++ b/src/host/layer23/src/common/l1ctl.c @@ -180,7 +180,7 @@ static int rx_ph_data_ind(struct osmocom_ms *ms, struct msgb *msg) * - 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; -- cgit v1.2.3