aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc/iucs.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/libmsc/iucs.c')
-rw-r--r--openbsc/src/libmsc/iucs.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/openbsc/src/libmsc/iucs.c b/openbsc/src/libmsc/iucs.c
index 469d3e0a7..8d763d223 100644
--- a/openbsc/src/libmsc/iucs.c
+++ b/openbsc/src/libmsc/iucs.c
@@ -185,13 +185,8 @@ int gsm0408_rcvmsg_iucs(struct gsm_network *network, struct msgb *msg,
if (!conn)
abort();
+ /* ownership of conn hereby goes to the MSC: */
rc = msc_compl_l3(conn, msg, 0);
- if (rc != MSC_CONN_ACCEPT) {
- gsm0408_clear_request(conn, 0);
- rc = -1;
- }
- else
- rc = 0;
}
return rc;