<p style="white-space: pre-wrap; word-wrap: break-word;">patch looks good, but only +1 to wait for passing the complete gsm0808_cell_id in params, as noted in the other patch, 11728</p><p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #d4ffd4;">Code-Review +1</span></p><p><a href="https://gerrit.osmocom.org/11734">View Change</a></p><p>4 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11734/1/src/osmo-bsc/handover_fsm.c">File src/osmo-bsc/handover_fsm.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11734/1/src/osmo-bsc/handover_fsm.c@678">Patch Set #1, Line 678:</a> <code style="font-family:monospace,monospace">        struct gsm0808_handover_performed ho_perf_params;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">"perf" to me reads as "performance test" :P ... whatever</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11734/1/src/osmo-bsc/handover_fsm.c@688">Patch Set #1, Line 688:</a> <code style="font-family:monospace,monospace">  cell = cgi_for_msc(conn->sccp.msc, conn_get_bts(conn));</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">(cgi_for_msc is a weird name, my fault; note to self to rename it)</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11734/1/src/osmo-bsc/handover_fsm.c@791">Patch Set #1, Line 791:</a> <code style="font-family:monospace,monospace">   if (result == HO_RESULT_OK && (ho->scope & HO_INTRA_CELL || ho->scope & HO_INTRA_BSC))</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">&& (ho->scope & (HO_INTRA_CELL | HO_INTRA_BSC))</p><p style="white-space: pre-wrap; word-wrap: break-word;">... the more I look at it the more I believe using a bit field instead of a plain enum was a mistake. note to self to tweak that.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11734/1/tests/handover/handover_test.c">File tests/handover/handover_test.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11734/1/tests/handover/handover_test.c@223">Patch Set #1, Line 223:</a> <code style="font-family:monospace,monospace">  fake_msc_data.network = &fake_bsc_gsmnet;</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Why is this needed?</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">we're in a test; and probably something dereferences a struct msc_data->network that isn't critical for the test, so this avoids a segfault.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/11734">change 11734</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/11734"/><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: comment </div>
<div style="display:none"> Gerrit-Change-Id: If26e5807280e0f75a423b3b04f8e3c698c82a351 </div>
<div style="display:none"> Gerrit-Change-Number: 11734 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@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-CC: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 12 Nov 2018 17:14:19 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>