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
This commit is contained in:
parent
5fe11cd6b0
commit
b26cfffeda
|
@ -99,7 +99,6 @@ module LAPDm_RAW_PT {
|
|||
}
|
||||
|
||||
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 @@ module LAPDm_RAW_PT {
|
|||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue