<p>Pau Espin Pedrol <strong>uploaded patch set #4</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/11766">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bts-trx: setup timer once at creation time<br><br>The setup is only needed once, so no need to set it every time we want<br>to schedule it.<br>Furthermore, it will ease new code introduced in follow-up patches,<br>which will schedule this timer under some circumstances without need to<br>send a message at the same time (because re-try of a cmd after a delay<br>is wanted).<br><br>This commit adds an alloc function and an init function to keep<br>different parts of the code decoupled and avoid exposing more<br>implementation details between them (like exposing the trx_if timer).<br><br>Change-Id: I3b6461d0130d25284e673c5efce0b3832c48bbb5<br>---<br>M src/osmo-bts-trx/l1_if.c<br>M src/osmo-bts-trx/l1_if.h<br>M src/osmo-bts-trx/main.c<br>M src/osmo-bts-trx/trx_if.c<br>M src/osmo-bts-trx/trx_if.h<br>5 files changed, 17 insertions(+), 6 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/66/11766/4</pre><p>To view, visit <a href="https://gerrit.osmocom.org/11766">change 11766</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/11766"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I3b6461d0130d25284e673c5efce0b3832c48bbb5 </div>
<div style="display:none"> Gerrit-Change-Number: 11766 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Harald Welte <laforge@gnumonks.org> </div>