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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Oct 12 06:19:30 UTC 2018


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 <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181012/a7a0a44a/attachment.htm>


More information about the gerrit-log mailing list