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 <[email protected]>
Gerrit-MessageType: newchange

Reply via email to