summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-11-01 23:39:03 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2017-02-24 15:18:20 +0100
commit7d12ca1b947fa5efcb9d3fe2b8b038ce4ec2cbc0 (patch)
treec4c258487604a032a9513cb9e2451454020d482f
parent7a250cc9d9e4bf493d8f92d348fac16976ce6521 (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 1abf4a36b..0cae6d8c7 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;