diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-10-19 18:21:41 +0700 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2019-10-21 11:21:55 +0000 |
commit | be1651bb51cd8eca62513bcd73ff221d552e7844 (patch) | |
tree | 6921cdf24f6dbef8d037b80aaef37b78d7a5ade1 /src/osmo-bts-trx | |
parent | e4abc63e429110aecc0991c78424745f5109fae8 (diff) |
osmo-bts-trx/scheduler: fix: print the last frame number in rx_data_fn()
All other Uplink burst handlers print frame number of the last
(currently received) burst. Let's make rx_data_fn() consistent.
Change-Id: Ie5762a132326be3ef4e4e38cc126f05d51098a20
Diffstat (limited to 'src/osmo-bts-trx')
-rw-r--r-- | src/osmo-bts-trx/scheduler_trx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c index 8662a142..d63987b6 100644 --- a/src/osmo-bts-trx/scheduler_trx.c +++ b/src/osmo-bts-trx/scheduler_trx.c @@ -967,7 +967,7 @@ int rx_data_fn(struct l1sched_trx *l1t, enum trx_chan_type chan, if ((*mask & 0xf) != 0xf) { LOGL1S(DL1P, LOGL_NOTICE, l1t, bi->tn, chan, bi->fn, "Received incomplete data (%u/%u)\n", - *first_fn, (*first_fn) % l1ts->mf_period); + bi->fn % l1ts->mf_period, l1ts->mf_period); /* we require first burst to have correct FN */ if (!(*mask & 0x1)) { @@ -982,7 +982,7 @@ int rx_data_fn(struct l1sched_trx *l1t, enum trx_chan_type chan, if (rc) { LOGL1S(DL1P, LOGL_NOTICE, l1t, bi->tn, chan, bi->fn, "Received bad data (%u/%u)\n", - *first_fn, (*first_fn) % l1ts->mf_period); + bi->fn % l1ts->mf_period, l1ts->mf_period); l2_len = 0; } else l2_len = GSM_MACBLOCK_LEN; |