From 095654d361681b3218dc18deaea426cea92b4328 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 23 May 2019 23:28:28 +0200 Subject: load_indication: Fix missing re-set of RACH parameters While we re-set the PCH load counters after every report, we never actually re-set the RACH load counters. This meant that the period/window for RACH load averaging would always grow, rather than being reset every load indication period. Related: OS#3750 Change-Id: Icd9150ba56d77d031c3cf496c5936c2de52b364c --- src/common/load_indication.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/load_indication.c b/src/common/load_indication.c index e91f6d49..fa4745b1 100644 --- a/src/common/load_indication.c +++ b/src/common/load_indication.c @@ -32,6 +32,7 @@ static void reset_load_counters(struct gsm_bts *bts) { /* re-set the counters */ bts->load.ccch.pch_used = bts->load.ccch.pch_total = 0; + bts->load.rach.busy = bts->load.rach.access = bts->load.rach.total = 0; } static void load_timer_cb(void *data) -- cgit v1.2.3