aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-05-23 23:28:28 +0200
committerHarald Welte <laforge@gnumonks.org>2019-05-24 11:03:37 +0200
commit095654d361681b3218dc18deaea426cea92b4328 (patch)
tree61465b11eccd36f56d60b7a75da0bdd8ed389a6e
parentb1a9a77727246837cb3a241341e4160917948fc2 (diff)
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
-rw-r--r--src/common/load_indication.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/load_indication.c b/src/common/load_indication.c
index e91f6d4..fa4745b 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)