Change in ...osmo-ttcn3-hacks[master]: fixup l1 sacch

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Jun 2 20:36:52 UTC 2019


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14344


Change subject: fixup l1 sacch
......................................................................

fixup l1 sacch

Change-Id: I43768b77c97868ca4d8fb972b8c2cf8529528272
---
M library/LAPDm_RAW_PT.ttcn
1 file changed, 3 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/44/14344/1

diff --git a/library/LAPDm_RAW_PT.ttcn b/library/LAPDm_RAW_PT.ttcn
index 6166576..2ede566 100644
--- a/library/LAPDm_RAW_PT.ttcn
+++ b/library/LAPDm_RAW_PT.ttcn
@@ -501,13 +501,10 @@
 				if (lpd.sacch) {
 					link_id := valueof(ts_RslLinkID_SACCH(lpd.sapi));
 					buf := f_pad_oct(enc_LapdmFrame(lpd.lapdm), 21, '2B'O);
-					var L1ctlDataReq l1hl2 := {
-						l1header := valueof(ts_SacchL1Header(ms_power_lvl, false,
-										     timing_adv)),
-						l2_payload := buf
-					};
+					var SacchL1Header l1h := valueof(ts_SacchL1Header(ms_power_lvl,
+										false, timing_adv));
 					L1CTL.send(ts_L1CTL_DATA_REQ_SACCH(chan_desc.chan_nr, link_id,
-									   l1hl2));
+									   l1h, buf));
 				} else {
 					link_id := valueof(ts_RslLinkID_DCCH(lpd.sapi));
 					buf := f_pad_oct(enc_LapdmFrame(lpd.lapdm), 23, '2B'O);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14344
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: I43768b77c97868ca4d8fb972b8c2cf8529528272
Gerrit-Change-Number: 14344
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190602/c6d1f40f/attachment.htm>


More information about the gerrit-log mailing list