aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2019-07-13 05:05:27 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2019-07-13 05:09:24 +0200
commit4d4db8c7b553d784a21c585884fcfc43f5cc0cc3 (patch)
treef00e2c6593d9ecd978fbcb0100450ce7db692caf
parent08822a33020b3e297058e87c0fa95c4a4cbfe8c6 (diff)
silence error for "invalid enum handover_scope value: none"
If no target cell got selected in a handover attempt, enum value NO_HANDOVER is used. In that case, do not log a lot of errors saying "invalid enum handover_scope value: none" -- they are misleading. Change-Id: I98e748bea58ebb02812b6aaa6431c7d4b813242d
-rw-r--r--src/osmo-bsc/handover_fsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bsc/handover_fsm.c b/src/osmo-bsc/handover_fsm.c
index 7406a97..6d0c2d4 100644
--- a/src/osmo-bsc/handover_fsm.c
+++ b/src/osmo-bsc/handover_fsm.c
@@ -694,6 +694,7 @@ static int result_counter(enum handover_scope scope, enum handover_result result
LOGP(DHO, LOGL_ERROR, "invalid enum handover_scope value: %s\n",
handover_scope_name(scope));
/* use "normal" HO_INTRA_BSC counter... */
+ case HO_NO_HANDOVER:
case HO_INTRA_BSC:
return result_counter_HANDOVER(result);
case HO_INTER_BSC_OUT: