LAPDm_RAW_PT: Use default L1CTL socket
The L1CTL socket path can be configured as module parameter of
the L1CTL_PortType module, so there's no need in repeating that
configuration inside LAPDm_RAW_PT
diff --git a/library/LAPDm_RAW_PT.ttcn b/library/LAPDm_RAW_PT.ttcn
index 06f5590..229aff0 100644
--- a/library/LAPDm_RAW_PT.ttcn
+++ b/library/LAPDm_RAW_PT.ttcn
@@ -99,7 +99,6 @@
}
type component lapdm_CT {
- var charstring l1ctl_sock_path := "/tmp/osmocom_l2";
/* L1CTL port towards the bottom */
port L1CTL_PT L1CTL;
@@ -120,7 +119,7 @@
}
private function f_init() runs on lapdm_CT {
- f_connect_reset(L1CTL, l1ctl_sock_path);
+ f_connect_reset(L1CTL);
set_ph_state(PH_STATE_NULL);
}