aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-11-01 23:39:03 +0100
committerAlexander Couzens <lynxis@fe80.eu>2017-03-13 09:22:08 +0100
commit605440b88afca9d2540813d231c327acb33ce2ae (patch)
treebdcdea5458e3deb080c3d7d2c74549a495da0759
parentd3ce5091257056420df8fbb327568ce4afe07093 (diff)
unixsocket: start sabm for UNIXSOCKET
openbsc only starts sabm messages for a subset of line drivers. Add unixsocket to those subset. Change-Id: If98c037119142cc33b46ab5c1bf02d4cda81c81e
-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;