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:
Harald Welte 2017-08-25 09:56:47 +02:00
parent 5fe11cd6b0
commit b26cfffeda
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}