[XS] Change in osmocom-bb[master]: trxcon/fsm: handle_dch_est_req(): do not reset the scheduler
fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/41906?usp=email ) Change subject: trxcon/fsm: handle_dch_est_req(): do not reset the scheduler ...................................................................... trxcon/fsm: handle_dch_est_req(): do not reset the scheduler Calling l1sched_reset() results in resetting the UL SACCH cache, that may have been populated prior to sending L1CTL_DM_EST_REQ. Instead, do what the comment says - call l1sched_del_all_ts(). Change-Id: Iff03fa5b90ac1ec30b7937cea6bd09c6ececb5f6 Fixes: c6fe9c3f ("trxcon: trxcon_fsm: permit loop [P]DCH transitions") Related: 15877ba05 ("trxcon: allow populating global SACCH cache via L1CTL") Related: OS#6919 --- M src/host/trxcon/src/trxcon_fsm.c 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified fixeria: Looks good to me, approved laforge: Looks good to me, but someone else must approve diff --git a/src/host/trxcon/src/trxcon_fsm.c b/src/host/trxcon/src/trxcon_fsm.c index 34ca21b..fa0584d 100644 --- a/src/host/trxcon/src/trxcon_fsm.c +++ b/src/host/trxcon/src/trxcon_fsm.c @@ -352,7 +352,7 @@ } /* Remove all active timeslots */ - l1sched_reset(trxcon->sched); + l1sched_del_all_ts(trxcon->sched); rc = l1sched_configure_ts(trxcon->sched, req->chan_nr & 0x07, config); if (rc) -- To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/41906?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmocom-bb Gerrit-Branch: master Gerrit-Change-Id: Iff03fa5b90ac1ec30b7937cea6bd09c6ececb5f6 Gerrit-Change-Number: 41906 Gerrit-PatchSet: 2 Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: pespin <pespin@sysmocom.de>
participants (1)
-
fixeria