Change in osmo-bts[master]: osmo-bts-virtual: cosmetic: use LID_{SACCH, DEDIC} macros

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
Fri Jun 5 20:54:15 UTC 2020


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

Change subject: osmo-bts-virtual: cosmetic: use LID_{SACCH,DEDIC} macros
......................................................................

osmo-bts-virtual: cosmetic: use LID_{SACCH,DEDIC} macros

Change-Id: Idd37ca9ebf0d483cbea6f0e992211b9c3e2af993
---
M src/osmo-bts-virtual/l1_if.c
1 file changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/src/osmo-bts-virtual/l1_if.c b/src/osmo-bts-virtual/l1_if.c
index c5c526c..289ef40 100644
--- a/src/osmo-bts-virtual/l1_if.c
+++ b/src/osmo-bts-virtual/l1_if.c
@@ -437,12 +437,12 @@
 				break;
 			}
 			/* deactivate associated channel */
-			trx_sched_set_lchan(sched, chan_nr, 0x40, 0);
+			trx_sched_set_lchan(sched, chan_nr, LID_SACCH, 0);
 			if (!l1sap->u.info.u.act_req.sacch_only) {
 				/* set lchan inactive */
 				lchan_set_state(lchan, LCHAN_S_NONE);
 				/* deactivate dedicated channel */
-				trx_sched_set_lchan(sched, chan_nr, 0x00, 0);
+				trx_sched_set_lchan(sched, chan_nr, LID_DEDIC, 0);
 				/* confirm only on dedicated channel */
 				mph_info_chan_confirm(trx, chan_nr,
 					PRIM_INFO_DEACTIVATE, 0);

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Idd37ca9ebf0d483cbea6f0e992211b9c3e2af993
Gerrit-Change-Number: 18698
Gerrit-PatchSet: 2
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/20200605/27006b1d/attachment.htm>


More information about the gerrit-log mailing list