diff options
authorHarald Welte <laforge@gnumonks.org>2016-11-16 14:06:36 +0100
committerHarald Welte <laforge@gnumonks.org>2016-11-21 01:28:14 +0100
commit5188254b99510ec1bac3d8805ee7efba39476c49 (patch)
parent5969280e8494d2bb81b65e72ebba6598dc6a6613 (diff)
UNIXSOCKET: Ensure superchannel is disabled for new connectionslaforge/rbs2000
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.
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;