aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/bsc_msc_ip.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbsc/src/bsc_msc_ip.c b/openbsc/src/bsc_msc_ip.c
index 6b8441c89..e6cf6f1be 100644
--- a/openbsc/src/bsc_msc_ip.c
+++ b/openbsc/src/bsc_msc_ip.c
@@ -809,8 +809,7 @@ static void msc_connection_was_lost(struct bsc_msc_connection *msc)
/* force the close by poking stuff */
if (bss->sccp) {
- bss->sccp->connection_state = SCCP_CONNECTION_STATE_REFUSED;
- sccp_connection_free(bss->sccp);
+ sccp_connection_force_free(bss->sccp);
bss->sccp = NULL;
}