mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
				synced 2025-11-04 05:53:26 +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,7 +229,8 @@ void msc_subscr_con_cleanup(struct gsm_subscriber_connection *conn)
 | 
			
		||||
		DEBUGP(DRLL, "Freeing subscriber connection"
 | 
			
		||||
		       " with NULL subscriber\n");
 | 
			
		||||
 | 
			
		||||
	/* A-Interface connection */
 | 
			
		||||
	/* Clear A-Interface connection */
 | 
			
		||||
	if (conn->via_ran == RAN_GERAN_A)
 | 
			
		||||
		a_iface_tx_clear_cmd(conn);
 | 
			
		||||
 | 
			
		||||
	if (!conn->conn_fsm)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user