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 <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to