laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19941 )

Change subject: BSC_Tests/hopping: fix bit-mask reduction in 
f_TC_fh_params_gen_tr_ma()
......................................................................

BSC_Tests/hopping: fix bit-mask reduction in f_TC_fh_params_gen_tr_ma()

Change-Id: Id8b1e9fb62f9deaa5517d7366271437af0fc6eef
Related: SYS#4868, OS#4545
---
M bsc/BSC_Tests.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 87e0d08..1b37f78 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -6918,7 +6918,7 @@
        }

        /* Ensure that ma_mask is octet-aligned */
-       ma_mask := substr(ma_mask, 0, ma_mask_len + 1);
+       ma_mask := substr(ma_mask, 0, ma_mask_len);
        ma_mask_len := (ma_mask_len + 8 - 1) / 8;
        ma_mask := f_pad_bit(ma_mask, ma_mask_len * 8, '0'B);


--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19941
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Id8b1e9fb62f9deaa5517d7366271437af0fc6eef
Gerrit-Change-Number: 19941
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-MessageType: merged

Reply via email to