mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
osmo_msc: only clear A-Interface connections for GSM calls
The clear command is sent via the A-Interface for both, A and IuCS connections. This is wrong. Only send the clear command for connections related to the A-Interface, which means only for connections where the RAN is set to GERAN
This commit is contained in:
committed by
Neels Hofmeyr
parent
956a2eb418
commit
e21c93fc96
@@ -229,8 +229,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);
|
||||
/* Clear A-Interface connection */
|
||||
if (conn->via_ran == RAN_GERAN_A)
|
||||
a_iface_tx_clear_cmd(conn);
|
||||
|
||||
if (!conn->conn_fsm)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user