aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-01-12 12:18:26 +0100
committerHarald Welte <laforge@osmocom.org>2020-01-12 14:24:24 +0100
commit6f674dea424f6fad6083a230f959841cd912e3fb (patch)
treec45368777c875e940d5d6ab05d1997fb2ea61410
parente1d: Don't use perror() directly, use osmocom logging instead (diff)
downloadlibosmo-abis-6f674dea424f6fad6083a230f959841cd912e3fb.tar.xz
libosmo-abis-6f674dea424f6fad6083a230f959841cd912e3fb.zip
e1d: Remove EXCEPTFD handling
The file decscriptor 'except' handling was only added in the DAHDI input module as the DAHDI kernel side is actually using those. I don't think we can even use this in any way over unix domain sockets. Change-Id: I718629179181a1de3b82e23447549f593046d91f
-rw-r--r--src/input/e1d.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/input/e1d.c b/src/input/e1d.c
index 787bf49..bbbf8d5 100644
--- a/src/input/e1d.c
+++ b/src/input/e1d.c
@@ -144,8 +144,6 @@ e1d_fd_cb(struct osmo_fd *bfd, unsigned int what)
switch (e1i_ts->type) {
case E1INP_TS_TYPE_SIGN:
- //if (what & BSC_FD_EXCEPT)
- //FIXME: what to do ?!?!
if (what & BSC_FD_READ)
ret = handle_ts_sign_read(bfd);
if (what & BSC_FD_WRITE)
@@ -221,7 +219,7 @@ e1d_line_update(struct e1inp_line *line)
"Could not open timeslot %d\n", ts);
return -EIO;
}
- bfd->when = BSC_FD_READ | BSC_FD_EXCEPT;
+ bfd->when = BSC_FD_READ;
if (!e1i_ts->lapd)
e1i_ts->lapd = lapd_instance_alloc(1,