summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-11-01 23:39:03 +0100
committerHarald Welte <laforge@gnumonks.org>2016-11-16 10:59:15 +0100
commitbb525f867c6947d05ac56f749c073ea220a10de2 (patch)
tree4622aa7fe26d185f5f86e80ad579f59adad4a80f
parentc04c6ed4af36afa414f6f9a1828a131c0d30c4ce (diff)
unixsocket: include UNIXSOCKET into sabm
-rw-r--r--openbsc/src/libbsc/bts_ericsson_rbs2000.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/openbsc/src/libbsc/bts_ericsson_rbs2000.c b/openbsc/src/libbsc/bts_ericsson_rbs2000.c
index faf6f05dc..10f67bb77 100644
--- a/openbsc/src/libbsc/bts_ericsson_rbs2000.c
+++ b/openbsc/src/libbsc/bts_ericsson_rbs2000.c
@@ -141,13 +141,15 @@ static int inp_sig_cb(unsigned int subsys, unsigned int signal,
case S_L_INP_LINE_INIT:
case S_L_INP_LINE_NOALARM:
if (strcasecmp(isd->line->driver->name, "DAHDI")
- && strcasecmp(isd->line->driver->name, "MISDN_LAPD"))
+ && strcasecmp(isd->line->driver->name, "MISDN_LAPD")
+ && strcasecmp(isd->line->driver->name, "UNIXSOCKET"))
break;
start_sabm_in_line(isd->line, 1);
break;
case S_L_INP_LINE_ALARM:
if (strcasecmp(isd->line->driver->name, "DAHDI")
- && strcasecmp(isd->line->driver->name, "MISDN_LAPD"))
+ && strcasecmp(isd->line->driver->name, "MISDN_LAPD")
+ && strcasecmp(isd->line->driver->name, "UNIXSOCKET"))
break;
start_sabm_in_line(isd->line, 0);
break;