[PATCH] osmo-ttcn3-hacks[master]: bsc: Clear RSL port of all BTSs, not only those where we exp...

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
Sat Mar 17 19:31:16 UTC 2018


Review at  https://gerrit.osmocom.org/7355

bsc: Clear RSL port of all BTSs, not only those where we expect paging

After all, we don't want stale queue entries especially in those where we
are not expecting any paging.

Change-Id: Id876b68087ef13d58177027b7e664404e6b7b2d9
---
M bsc/BSC_Tests.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/55/7355/1

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index a0e0559..07f2ac7 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -979,8 +979,8 @@
 	f_init();
 
 	/* Clear the queue, it might still contain stuff like BCCH FILLING */
-	for (i := 0; i < sizeof(bts_ids); i := i + 1) {
-		IPA_RSL[bts_ids[i]].clear;
+	for (i := 0; i < NUM_BTS; i := i + 1) {
+		IPA_RSL[i].clear;
 	}
 
 	if (isvalue(rsl_chneed)) {

-- 
To view, visit https://gerrit.osmocom.org/7355
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id876b68087ef13d58177027b7e664404e6b7b2d9
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list