diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2020-03-30 14:40:41 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2020-03-30 14:41:02 +0700 |
commit | d665c232371e0495a6d97f67101d825ddcc356a0 (patch) | |
tree | 5aae589441eed109944fbaa758d5a094608b19aa /bts | |
parent | cc4623dff2f0ea8dd004c88ab932ad83ac74fd84 (diff) |
BTS: fix as_l1_count_paging(): use ispresent() instead of isvalue()
We actually need to check if a MI is present, i.e. not omit.
ispresent(omit) => false
isvalue(omit) => true
Change-Id: I0e24e2aaa1f0da7ffdbc93ea4a19491e5dfb39b4
Diffstat (limited to 'bts')
-rw-r--r-- | bts/BTS_Tests.ttcn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index 9534a8ba..a2b4af79 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -2869,7 +2869,7 @@ runs on test_CT { if (match(rr, tr_PAGING_REQ1)) { num_paging_rcv_msgs := num_paging_rcv_msgs + 1; num_paging_rcv_ids := num_paging_rcv_ids + 1; - if (isvalue(rr.msgs.rrm.pagingReq_Type1.mobileIdentity2)) { + if (ispresent(rr.msgs.rrm.pagingReq_Type1.mobileIdentity2)) { num_paging_rcv_ids := num_paging_rcv_ids + 1; } } else if (match(rr, tr_PAGING_REQ2)) { @@ -2880,7 +2880,7 @@ runs on test_CT { if (not tmsi_is_dummy(rr.msgs.rrm.pagingReq_Type2.mobileIdentity2)) { num_paging_rcv_ids := num_paging_rcv_ids + 1; } - if (isvalue(rr.msgs.rrm.pagingReq_Type2.mobileIdentity3)) { + if (ispresent(rr.msgs.rrm.pagingReq_Type2.mobileIdentity3)) { num_paging_rcv_ids := num_paging_rcv_ids + 1; } } else if (match(rr, tr_PAGING_REQ3)) { |