diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-07-10 15:43:38 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2017-07-10 15:45:31 +0200 |
commit | c123ce519ed1c2b036fde61e6ee089f99c0fb26e (patch) | |
tree | 163677347f16dbf2a4577c860e83f39388a396bc /openbsc | |
parent | edc5dfe5ff61b163018852f38cdfe021e2c73571 (diff) |
fixup for: a_iface: fix missing clear command
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/libmsc/osmo_msc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/libmsc/osmo_msc.c b/openbsc/src/libmsc/osmo_msc.c index dc62f2fc9..57f517009 100644 --- a/openbsc/src/libmsc/osmo_msc.c +++ b/openbsc/src/libmsc/osmo_msc.c @@ -208,7 +208,6 @@ void msc_subscr_con_cleanup(struct gsm_subscriber_connection *conn) return; if (conn->vsub) { - a_iface_tx_clear_cmd(conn); DEBUGP(DRLL, "subscr %s: Freeing subscriber connection\n", vlr_subscr_name(conn->vsub)); msc_subscr_cleanup(conn->vsub); @@ -218,6 +217,9 @@ void msc_subscr_con_cleanup(struct gsm_subscriber_connection *conn) DEBUGP(DRLL, "Freeing subscriber connection" " with NULL subscriber\n"); + /* A-Interface connection */ + a_iface_tx_clear_cmd(conn); + if (!conn->conn_fsm) return; |