Change in osmo-bsc[master]: fix counters for inter-BSC outgoing

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Oct 11 15:15:22 UTC 2018


Neels Hofmeyr has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/08/11308/1

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: newchange
Gerrit-Change-Id: I188b5db9e98c76153fdfb6f864d2cbfaea77bd5d
Gerrit-Change-Number: 11308
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181011/b5be2319/attachment.htm>


More information about the gerrit-log mailing list