aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/handover_fsm.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-10-10 01:25:57 +0200
committerHarald Welte <laforge@gnumonks.org>2018-10-12 06:19:29 +0000
commit30ca2a65155c616b9c54daf7c5e5567e34459af5 (patch)
tree108505ea7988ab256b22f958c969fc6d1419e6a3 /src/osmo-bsc/handover_fsm.c
parent54a80ab7e4c51712b2f7f41fee65afe3d5f14591 (diff)
fix counters for inter-BSC outgoing
Fix copy-paste error that resulted in counting outgoing inter-BSC HOs as incoming ones. Change-Id: I188b5db9e98c76153fdfb6f864d2cbfaea77bd5d
Diffstat (limited to 'src/osmo-bsc/handover_fsm.c')
-rw-r--r--src/osmo-bsc/handover_fsm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/osmo-bsc/handover_fsm.c b/src/osmo-bsc/handover_fsm.c
index 0ba506137..90d5f6c24 100644
--- a/src/osmo-bsc/handover_fsm.c
+++ b/src/osmo-bsc/handover_fsm.c
@@ -641,14 +641,14 @@ FUNC_RESULT_COUNTER(INTER_BSC_HO_IN)
static int result_counter_INTER_BSC_HO_OUT(enum handover_result result) {
switch (result) {
case HO_RESULT_OK:
- return BSC_CTR_INTER_BSC_HO_IN_COMPLETED;
+ return BSC_CTR_INTER_BSC_HO_OUT_COMPLETED;
case HO_RESULT_FAIL_TIMEOUT:
- return BSC_CTR_INTER_BSC_HO_IN_TIMEOUT;
+ return BSC_CTR_INTER_BSC_HO_OUT_TIMEOUT;
case HO_RESULT_CONN_RELEASE:
- return BSC_CTR_INTER_BSC_HO_IN_STOPPED;
+ return BSC_CTR_INTER_BSC_HO_OUT_STOPPED;
default:
case HO_RESULT_ERROR:
- return BSC_CTR_INTER_BSC_HO_IN_ERROR;
+ return BSC_CTR_INTER_BSC_HO_OUT_ERROR;
}
}