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.orgHarald Welte has submitted this change and it was merged. Change subject: fixup: neigh_meas_avg: fix condition to reduce window size ...................................................................... fixup: neigh_meas_avg: fix condition to reduce window size Change-Id: Ia2269be448436d676289c84b9b05da7f51ee4a85 --- M src/libbsc/handover_decision.c 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified diff --git a/src/libbsc/handover_decision.c b/src/libbsc/handover_decision.c index 1ad4b36..127b362 100644 --- a/src/libbsc/handover_decision.c +++ b/src/libbsc/handover_decision.c @@ -100,7 +100,7 @@ int avg = 0; /* reduce window to the actual number of existing measurements */ - if (window < nmp->rxlev_cnt) + if (window > nmp->rxlev_cnt) window = nmp->rxlev_cnt; /* this should never happen */ if (window <= 0) { -- To view, visit https://gerrit.osmocom.org/5903 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ia2269be448436d676289c84b9b05da7f51ee4a85 Gerrit-PatchSet: 4 Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder