summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-02-21 18:09:24 +0100
committerAlexander Couzens <lynxis@fe80.eu>2017-02-21 18:09:24 +0100
commita4ac76f12daac46af697d49b11190b12336cecb6 (patch)
treec356b0a753f30e013d9710e66d65a67ecb417abe
parent07de48f50be26f8b33b357a7c52ac8a72dd2f53d (diff)
disable superchannel on INIT/NOALARMlynxis/rbs2000_sc_disable
-rw-r--r--openbsc/src/libbsc/bts_ericsson_rbs2000.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/bts_ericsson_rbs2000.c b/openbsc/src/libbsc/bts_ericsson_rbs2000.c
index c73f52247..c8943f3de 100644
--- a/openbsc/src/libbsc/bts_ericsson_rbs2000.c
+++ b/openbsc/src/libbsc/bts_ericsson_rbs2000.c
@@ -149,6 +149,10 @@ static int inp_sig_cb(unsigned int subsys, unsigned int signal,
&& strcasecmp(isd->line->driver->name, "UNIXSOCKET"))
break;
start_sabm_in_line(isd->line, 1);
+ if (isd->trx->bts->rbs2000.use_superchannel) {
+ /* disable superchannel after disconnect */
+ e1inp_ericsson_set_altc(isd->line, 0);
+ }
break;
case S_L_INP_LINE_ALARM:
LOGP(DNM, LOGL_DEBUG, "inp_sig_cb() signal: S_L_INP_LINE_ALARM\n");