diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2016-11-16 14:06:36 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2017-02-01 14:25:59 +0100 |
commit | 67576744f5a8d410bd20d75f04e1a96d2c16eb49 (patch) | |
tree | 612843596b8a13f36fbcca8f20d8ea89d5d99583 | |
parent | 2b97c1e7e5c39a6be598db992fa91d49fccb452e (diff) |
unixsocket: Ensure superchannel is disabled for new connections
When the BSC is shut down or disconnected it may happen that the
SIU stays in superchannel mode, while the BTS is falling back
into its normal communication mode. This causes a permanent
link failure because the SIU is still trying to reconnect on
the superchannel.
This patch ensures that for every new connection the superchannel
is taken down by default. If the connection was still good, SIU
and BTS will switch back to normal mode together. If not. The
SIU will switch back alone while the BTS is already switched
back by itsself.
-rw-r--r-- | src/input/unixsocket.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input/unixsocket.c b/src/input/unixsocket.c index 144359b..09a8cd3 100644 --- a/src/input/unixsocket.c +++ b/src/input/unixsocket.c @@ -199,6 +199,9 @@ static int unixsocket_line_update(struct e1inp_line *line) e1i_ts, &lapd_profile_abis); } + /* Ensure Superchannel is turned of when a new connection is made */ + e1inp_ericsson_set_altc(line, 0); + return ret; } |