<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11982">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bsc: timeslot_fsm: Fix possible skip of some lchans in ts_terminate_lchan_fsms<br><br>If TS is in state changing from PDCH->TCH, the TCH lchan provoking the<br>switch would be skipped and not terminated before this patch.<br><br>See osmo-bsc I9cedb77d6578597f1febab36c54b2ee427c7a4a2 for similar<br>extensive explanation.<br><br>Change-Id: I9dc2a6e5b15376d049bd2ac5ddfa24340771b5c8<br>---<br>M src/osmo-bsc/timeslot_fsm.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/82/11982/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/timeslot_fsm.c b/src/osmo-bsc/timeslot_fsm.c</span><br><span>index 764c20c..25c6977 100644</span><br><span>--- a/src/osmo-bsc/timeslot_fsm.c</span><br><span>+++ b/src/osmo-bsc/timeslot_fsm.c</span><br><span>@@ -135,7 +135,7 @@</span><br><span> {</span><br><span>       struct gsm_lchan *lchan;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-    ts_for_each_lchan(lchan, ts) {</span><br><span style="color: hsl(120, 100%, 40%);">+        ts_for_each_lchan_slot(lchan, ts) {</span><br><span>          osmo_fsm_inst_term(lchan->fi, OSMO_FSM_TERM_REQUEST, NULL);</span><br><span>       }</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11982">change 11982</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/11982"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I9dc2a6e5b15376d049bd2ac5ddfa24340771b5c8 </div>
<div style="display:none"> Gerrit-Change-Number: 11982 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>