Change in osmo-bts[master]: scheduler: use RSL_CHAN_NR_MASK in trx_sched_set_lchan()

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/.

laforge gerrit-no-reply at lists.osmocom.org
Sun Oct 18 10:40:36 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/20695 )

Change subject: scheduler: use RSL_CHAN_NR_MASK in trx_sched_set_lchan()
......................................................................

scheduler: use RSL_CHAN_NR_MASK in trx_sched_set_lchan()

Change-Id: I3dd2c90f510444cda38516bd9a1a207877bebadc
---
M src/common/scheduler.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/common/scheduler.c b/src/common/scheduler.c
index 7e40e97..5d46a25 100644
--- a/src/common/scheduler.c
+++ b/src/common/scheduler.c
@@ -988,7 +988,7 @@
 		if ((trx_sched_multiframes[l1ts->mf_index].pchan == GSM_PCHAN_PDCH)
 		    && !(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)
 		 && trx_chan_desc[i].link_id == link_id) {
 			rc = 0;
 			if (chan_state->active == active)

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/20695
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I3dd2c90f510444cda38516bd9a1a207877bebadc
Gerrit-Change-Number: 20695
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201018/12f78c48/attachment.htm>


More information about the gerrit-log mailing list