Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/11308 )

Change subject: fix counters for inter-BSC outgoing
......................................................................

fix counters for inter-BSC outgoing

Fix copy-paste error that resulted in counting outgoing inter-BSC HOs as
incoming ones.

Change-Id: I188b5db9e98c76153fdfb6f864d2cbfaea77bd5d
---
M src/osmo-bsc/handover_fsm.c
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bsc/handover_fsm.c b/src/osmo-bsc/handover_fsm.c
index 0ba5061..90d5f6c 100644
--- a/src/osmo-bsc/handover_fsm.c
+++ b/src/osmo-bsc/handover_fsm.c
@@ -641,14 +641,14 @@
 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;
        }
 }


--
To view, visit https://gerrit.osmocom.org/11308
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I188b5db9e98c76153fdfb6f864d2cbfaea77bd5d
Gerrit-Change-Number: 11308
Gerrit-PatchSet: 2
Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)

Reply via email to