mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 13:17:25 +01:00 
			
		
		
		
	ap: Limit pairwise and group ciphers to CCMP|TKIP
This commit is contained in:
		
							parent
							
								
									60bd973441
								
							
						
					
					
						commit
						75ec7d8076
					
				
							
								
								
									
										7
									
								
								src/ap.c
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								src/ap.c
									
									
									
									
									
								
							| @ -3303,8 +3303,11 @@ struct ap_state *ap_start(struct netdev *netdev, struct l_settings *config, | ||||
| 	err = -EINVAL; | ||||
| 
 | ||||
| 	/* TODO: Add all ciphers supported by wiphy */ | ||||
| 	ap->ciphers = wiphy_select_cipher(wiphy, 0xffff); | ||||
| 	ap->group_cipher = wiphy_select_cipher(wiphy, 0xffff); | ||||
| 	ap->ciphers = wiphy_select_cipher(wiphy, IE_RSN_CIPHER_SUITE_TKIP | | ||||
| 						IE_RSN_CIPHER_SUITE_CCMP); | ||||
| 	ap->group_cipher = wiphy_select_cipher(wiphy, | ||||
| 						IE_RSN_CIPHER_SUITE_TKIP | | ||||
| 						IE_RSN_CIPHER_SUITE_CCMP); | ||||
| 	ap->beacon_interval = 100; | ||||
| 	ap->networks = l_queue_new(); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Denis Kenzior
						Denis Kenzior