fixup: gsm48_make_ho_cmd(): optionally add Synchronization Indication IE

This was overlooked during the code review.  GCC does not complain
because internally both 'enum handover_scope' and 'bool' are
interpreted as 'int'.  Found this while running my WIP testcase
TC_srvcc_eutran_to_geran_a5_3.  This change makes it pass.

Related: SYS#5838
Fixes: I4e5b1163a71443d706f14ce4bfd5c2294c320432
Change-Id: I807fd4a0e700e54c67ca3547d9c0c1b442dd1c54
(cherry picked from commit 7c14a12a78)
This commit is contained in:
Vadim Yanitskiy 2022-03-14 17:12:35 +03:00
parent ad51437eef
commit 1f83a07e7b
1 changed files with 1 additions and 1 deletions

View File

@ -1199,7 +1199,7 @@ static void ho_fsm_wait_rr_ho_detect_onenter(struct osmo_fsm_inst *fi, uint32_t
struct handover *ho = &conn->ho;
struct msgb *rr_ho_cmd = gsm48_make_ho_cmd(ho->new_lchan,
ho->async, ho->scope,
ho->scope, ho->async,
ho->new_lchan->ms_power,
ho->ho_ref);
if (!rr_ho_cmd) {