<p>laforge <strong>uploaded patch set #5</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/simtrace2/+/16602">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">card_emu: Avoid recursive calls to card_set_state()<br><br>A function that is called to set the state should not in itself<br>contain logic to issue further state changes.<br><br>Let's shift the related block out to the end of card_emu_io_statechg(),<br>which is the only source of card_set_state() calls for the<br>WAIT_{POWER,CLK,RST} states anyway.<br><br>As an added benefit, the block of statements is now also executed if<br>there's no state change - something that was prevented by the<br>"if old == new" state guard at the top of card_set_state().  I believe<br>this may help us to cover more (non-standard) card activation sequences.<br><br>Change-Id: Ieefa1807099eb234cfd994bca83caaa0dcc919b6<br>---<br>M firmware/libcommon/source/card_emu.c<br>1 file changed, 17 insertions(+), 7 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/02/16602/5</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/simtrace2/+/16602">change 16602</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/c/simtrace2/+/16602"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: simtrace2 </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ieefa1807099eb234cfd994bca83caaa0dcc919b6 </div>
<div style="display:none"> Gerrit-Change-Number: 16602 </div>
<div style="display:none"> Gerrit-PatchSet: 5 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>