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/+/24746 ) Change subject: scheduler: fix: use ts_pchan() in trx_sched_set_cipher() ...................................................................... scheduler: fix: use ts_pchan() in trx_sched_set_cipher() Properly handle dynamic timeslots, do not access 'pchan' directly. Change-Id: Iccb8794253face54164af1ba344204eadab8f98b Fixes: [1] I7c4379e43a25e9d858d582a99bf6c4b65c9af481 --- M src/common/scheduler.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/46/24746/1 diff --git a/src/common/scheduler.c b/src/common/scheduler.c index ea4aee4..93c1e85 100644 --- a/src/common/scheduler.c +++ b/src/common/scheduler.c @@ -1190,7 +1190,7 @@ int i, rc = -EINVAL; /* no cipher for PDCH */ - if (lchan->ts->pchan == GSM_PCHAN_PDCH) + if (ts_pchan(lchan->ts) == GSM_PCHAN_PDCH) return 0; /* VAMOS: convert Osmocom specific channel number to a generic one, -- To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/24746 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Change-Id: Iccb8794253face54164af1ba344204eadab8f98b Gerrit-Change-Number: 24746 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/20210622/c6ed4c7f/attachment.htm>