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/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/20719 )
Change subject: scheduler: use RSL_CHAN_NR_MASK in trx_sched_set_cipher()
......................................................................
scheduler: use RSL_CHAN_NR_MASK in trx_sched_set_cipher()
Change-Id: I26fb115ce0a7c33453b05c8fcee8a21d1a2a97d5
---
M src/common/scheduler.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/19/20719/1
diff --git a/src/common/scheduler.c b/src/common/scheduler.c
index 5d46a25..7f80b02 100644
--- a/src/common/scheduler.c
+++ b/src/common/scheduler.c
@@ -1110,7 +1110,7 @@
/* skip if pchan type */
if (trx_chan_desc[i].flags & TRX_CHAN_FLAG_PDCH)
continue;
- if (trx_chan_desc[i].chan_nr == (chan_nr & 0xf8)) {
+ if (trx_chan_desc[i].chan_nr == (chan_nr & RSL_CHAN_NR_MASK)) {
chan_state = &l1ts->chan_state[i];
LOGP(DL1C, LOGL_NOTICE, "Set a5/%d %s for %s on trx=%d "
"ts=%d\n", algo,
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/20719
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I26fb115ce0a7c33453b05c8fcee8a21d1a2a97d5
Gerrit-Change-Number: 20719
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201018/808ad0b0/attachment.htm>