aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc/iucs.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-03-02 02:37:39 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-03-16 15:32:33 +0100
commite48c9d13ae37545fecbd9ddde5f326c12ebb9f93 (patch)
tree9154286a8a3f558386a6792dc11790ed94022507 /openbsc/src/libmsc/iucs.c
parent443a180a81ec7c592a5f754a7aec78db497f940f (diff)
Make the code work so that the msc_vlr tests pass
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;