fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-bts/+/29577 )
Change subject: osmo-bts-trx: rx_rach_fn(): properly detect handover RACH
......................................................................
osmo-bts-trx: rx_rach_fn(): properly detect handover RACH
Checking if (bi->chan != TRXC_RACH) is not enough to detect HANDOVER
ACCESS. Receiving this message is only possible on CS channels.
Change-Id: Ice1674fd4fed8c54d605ff19d568f6e46b4c5783
---
M src/osmo-bts-trx/sched_lchan_rach.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/77/29577/1
diff --git a/src/osmo-bts-trx/sched_lchan_rach.c b/src/osmo-bts-trx/sched_lchan_rach.c
index 5d9d0b1..11ba157 100644
--- a/src/osmo-bts-trx/sched_lchan_rach.c
+++ b/src/osmo-bts-trx/sched_lchan_rach.c
@@ -137,7 +137,7 @@
LOGL1SB(DL1P, LOGL_DEBUG, l1ts, bi,
"Received%s RACH (%s): rssi=%d toa256=%d",
- (bi->chan != TRXC_RACH) ? " handover" : "",
+ TRX_CHAN_IS_DEDIC(bi->chan) ? " handover" : "",
get_value_string(rach_synch_seq_names, synch_seq),
bi->rssi, bi->toa256);
if (bi->flags & TRX_BI_F_CI_CB)
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bts/+/29577
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ice1674fd4fed8c54d605ff19d568f6e46b4c5783
Gerrit-Change-Number: 29577
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange