aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/e1d.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/e1d.c')
-rw-r--r--src/input/e1d.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/input/e1d.c b/src/input/e1d.c
index 3a2f385..be844d5 100644
--- a/src/input/e1d.c
+++ b/src/input/e1d.c
@@ -23,6 +23,7 @@
*/
#include "config.h"
+#include "internal.h"
#ifdef HAVE_E1D
@@ -245,7 +246,7 @@ e1d_line_update(struct e1inp_line *line)
}
if (bfd->fd <= 0) {
bfd->fd = osmo_e1dp_client_ts_open(g_e1d, e1d_intf, e1d_line, ts,
- E1DP_TSMODE_HDLCFCS, D_TSX_ALLOC_SIZE);
+ E1DP_TSMODE_HDLCFCS, D_BCHAN_TX_GRAN);
}
if (bfd->fd < 0) {
LOGPITS(e1i_ts, DLINP, LOGL_ERROR, "Could not open timeslot %d\n", ts);
@@ -275,7 +276,7 @@ e1d_line_update(struct e1inp_line *line)
}
if (bfd->fd <= 0) {
bfd->fd = osmo_e1dp_client_ts_open(g_e1d, e1d_intf, e1d_line, ts,
- E1DP_TSMODE_HDLCFCS, D_TSX_ALLOC_SIZE);
+ E1DP_TSMODE_HDLCFCS, D_BCHAN_TX_GRAN);
}
if (bfd->fd < 0) {
LOGPITS(e1i_ts, DLINP, LOGL_ERROR, "Could not open timeslot %d\n", ts);
@@ -298,7 +299,7 @@ e1d_line_update(struct e1inp_line *line)
}
if (bfd->fd <= 0) {
bfd->fd = osmo_e1dp_client_ts_open(g_e1d, e1d_intf, e1d_line, ts,
- E1DP_TSMODE_RAW, D_TSX_ALLOC_SIZE);
+ E1DP_TSMODE_RAW, D_BCHAN_TX_GRAN);
}
if (bfd->fd < 0) {
LOGPITS(e1i_ts, DLINP, LOGL_ERROR, "Could not open timeslot %d\n", ts);