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 <vyanits...@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <lafo...@osmocom.org> Gerrit-MessageType: merged