summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openbsc/src/libmsc/osmo_msc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/osmo_msc.c b/openbsc/src/libmsc/osmo_msc.c
index 6e982d050..2d5f94b56 100644
--- a/openbsc/src/libmsc/osmo_msc.c
+++ b/openbsc/src/libmsc/osmo_msc.c
@@ -149,6 +149,10 @@ struct bsc_api *msc_bsc_api() {
/* conn release handling */
void msc_release_connection(struct gsm_subscriber_connection *conn)
{
+ /* For IuCS, always wait until the UE releases. */
+ if (conn->via_iface == IFACE_IU)
+ return;
+
/* skip when we are in release, e.g. due an error */
if (conn->in_release)
return;