mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
				synced 2025-11-02 21:13:44 +00:00 
			
		
		
		
	gprs/sgsn_mm_ctx_alloc(): initialize MM state to IDLE
Previous the state was only set in Iu mode. Change-Id: I99a6aec1090cad9b9d38d134cc9b34ef292062df
This commit is contained in:
		
				
					committed by
					
						
						Harald Welte
					
				
			
			
				
	
			
			
			
						parent
						
							17a29ef311
						
					
				
				
					commit
					1013550218
				
			@@ -223,6 +223,7 @@ struct sgsn_mm_ctx *sgsn_mm_ctx_alloc_gb(uint32_t tlli,
 | 
			
		||||
	ctx->ran_type = MM_CTX_T_GERAN_Gb;
 | 
			
		||||
	ctx->gb.tlli = tlli;
 | 
			
		||||
	ctx->gmm_state = GMM_DEREGISTERED;
 | 
			
		||||
	ctx->pmm_state = MM_IDLE;
 | 
			
		||||
	ctx->auth_triplet.key_seq = GSM_KEY_SEQ_INVAL;
 | 
			
		||||
	ctx->ciph_algo = sgsn->cfg.cipher;
 | 
			
		||||
	LOGMMCTXP(LOGL_DEBUG, ctx, "Allocated with %s cipher.\n",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user