mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
				synced 2025-11-04 05:53:26 +00:00 
			
		
		
		
	chan_alloc: Allocate a subscriber connection as child of the network
Due handover we might leave the BTS and if we ever allocate/release a BTS dynamically we have a problem here.
This commit is contained in:
		@@ -513,7 +513,7 @@ struct gsm_subscriber_connection *subscr_con_allocate(struct gsm_lchan *lchan)
 | 
			
		||||
{
 | 
			
		||||
	struct gsm_subscriber_connection *conn;
 | 
			
		||||
 | 
			
		||||
	conn = talloc_zero(lchan->ts->trx->bts, struct gsm_subscriber_connection);
 | 
			
		||||
	conn = talloc_zero(lchan->ts->trx->bts->network, struct gsm_subscriber_connection);
 | 
			
		||||
	if (!conn)
 | 
			
		||||
		return NULL;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user