[MERGED] 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:34:49 UTC 2018


Harald Welte has submitted this change and it was merged.

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


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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: Id876b68087ef13d58177027b7e664404e6b7b2d9
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list