mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
				synced 2025-11-04 05:53:26 +00:00 
			
		
		
		
	gsm_04_08: Make gsm48_secure_channel available globally
Can't declare it in gsm_04_08.h tough ... gsm_cbfn is defined in gsm_data.h and trying to include that in gsm_04_08 just creates a huge mess. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
		@@ -140,8 +140,8 @@ static void allocate_security_operation(struct gsm_subscriber_connection *conn)
 | 
				
			|||||||
	                                  struct gsm_security_operation);
 | 
						                                  struct gsm_security_operation);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int gsm48_secure_channel(struct gsm_subscriber_connection *conn, int key_seq,
 | 
					int gsm48_secure_channel(struct gsm_subscriber_connection *conn, int key_seq,
 | 
				
			||||||
				gsm_cbfn *cb, void *cb_data)
 | 
					                         gsm_cbfn *cb, void *cb_data)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct gsm_network *net = conn->bts->network;
 | 
						struct gsm_network *net = conn->bts->network;
 | 
				
			||||||
	struct gsm_subscriber *subscr = conn->subscr;
 | 
						struct gsm_subscriber *subscr = conn->subscr;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user