aboutsummaryrefslogtreecommitdiffstats
path: root/bts/BTS_Tests.ttcn
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-09-17 19:44:32 +0700
committerlaforge <laforge@osmocom.org>2020-09-17 15:27:37 +0000
commitaa553eda658b52926cd4292ba86ac6610065cb7f (patch)
tree4d956cae10406dcf5d54f0988f1fa2a646c68770 /bts/BTS_Tests.ttcn
parent013d65af1e64d532b48983e463a80c8ffbb82bf6 (diff)
fixup BTS_Tests: also match MA length in TC_pcu_info_ind_fh_params()
The bit-mask in fhp.ma_map.ma is octet-aligned, so we cannot use its length. Use the number of transceivers instead, since they all belong to the same BTS. Change-Id: I772d13841babd2856b6b2fcf126ba47fb20b055a Fixes: Ibebbedecaed0a3f24a1bc7b520013fa563c4bbda Related: SYS#4868, OS#4547
Diffstat (limited to 'bts/BTS_Tests.ttcn')
-rw-r--r--bts/BTS_Tests.ttcn2
1 files changed, 1 insertions, 1 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 3100d033..0202f222 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -5432,7 +5432,7 @@ testcase TC_pcu_info_ind_fh_params() runs on test_CT {
hsn := fhp.maio_hsn.hsn,
maio := fhp.maio_hsn.maio,
ma := f_pad_bit(fhp.ma_map.ma, 64, '0'B),
- ma_bit_len := lengthof(fhp.ma_map.ma));
+ ma_bit_len := mp_transceiver_num);
} else {
tr_ts := tr_PCUIF_InfoTrxTsH0;
}