aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/bsc_api.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-20 13:24:47 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-20 13:26:53 +0100
commitcb00b465dab5f10d2b082ab4a01cd3aedd509f1f (patch)
tree57cdf43142351472bce02746d0cea9e9104dab09 /openbsc/src/libbsc/bsc_api.c
parenta3219b4f6cd53130c2b3e3f4c084932c162b5c9d (diff)
bsc: Speculative change to avoid having to backport chan rel handling
Deactivate the SACCH in case compl_l3 does not want to have an open connection.
Diffstat (limited to 'openbsc/src/libbsc/bsc_api.c')
-rw-r--r--openbsc/src/libbsc/bsc_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/bsc_api.c b/openbsc/src/libbsc/bsc_api.c
index b9e4f0208..87861c705 100644
--- a/openbsc/src/libbsc/bsc_api.c
+++ b/openbsc/src/libbsc/bsc_api.c
@@ -524,7 +524,7 @@ int gsm0408_rcvmsg(struct msgb *msg, uint8_t link_id)
if (rc != BSC_API_CONN_POL_ACCEPT) {
lchan->conn->lchan = NULL;
subscr_con_free(lchan->conn);
- lchan_release(lchan, 0, 0);
+ lchan_release(lchan, 1, 0);
}
}