summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-11-02 01:10:30 +0100
committerAlexander Couzens <lynxis@fe80.eu>2016-11-02 01:16:00 +0100
commitd68838322fe63bf2569424bb1a794963402ce9d0 (patch)
tree7c9e6b3ca93fdc97b135c9a4611c6b90724dc6d8
parent5344d6f04c1b91e3ca68fbadb1b28def715aa6a1 (diff)
rbs2000: allow to use unixsocket as well
-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 1d122eced..720284828 100644
--- a/openbsc/src/libbsc/bts_ericsson_rbs2000.c
+++ b/openbsc/src/libbsc/bts_ericsson_rbs2000.c
@@ -136,13 +136,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;