aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-03-14 17:12:35 +0300
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-03-14 19:07:45 +0300
commit1f83a07e7b0d2335f4a4e9b6631e2c86b0256601 (patch)
treeb1deed9243ecca2d96c7719eeb0a8d8d2a55131b
parentad51437eef9a1b492dfb614fe26667bb699e9cce (diff)
fixup: gsm48_make_ho_cmd(): optionally add Synchronization Indication IE2021q4
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 7c14a12a786b4a297e79a6cf4a84d84393344b54)
-rw-r--r--src/osmo-bsc/handover_fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/handover_fsm.c b/src/osmo-bsc/handover_fsm.c
index edb50fc1b..8240c385f 100644
--- a/src/osmo-bsc/handover_fsm.c
+++ b/src/osmo-bsc/handover_fsm.c
@@ -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) {