summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-10-27 05:54:15 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-10-27 05:54:25 +0700
commitd350e9f30c3b5f77363124308dfdfbc0ef3bd35c (patch)
tree058edd8d8bf4fdb19487cbc8d0b46d6e063578ed
parentf8edc4550671dcf0339091f5218e8275be0d2502 (diff)
layer23/l1ctl.c: fix: use host byte order for TDMA fn
-rw-r--r--src/host/layer23/src/common/l1ctl.c2
1 files changed, 1 insertions, 1 deletions
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;