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 <[email protected]>

Reply via email to