mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 04:57:25 +01:00 
			
		
		
		
	wiphy: Add wiphy_find
This commit is contained in:
		
							parent
							
								
									61b50cf81f
								
							
						
					
					
						commit
						8113f4c64e
					
				| @ -1496,6 +1496,11 @@ static void interface_dump_callback(struct l_genl_msg *msg, void *user_data) | ||||
| 	l_io_set_read_handler(device->eapol_io, eapol_read, device, NULL); | ||||
| } | ||||
| 
 | ||||
| struct wiphy *wiphy_find(int wiphy_id) | ||||
| { | ||||
| 	return l_queue_find(wiphy_list, wiphy_match, L_UINT_TO_PTR(wiphy_id)); | ||||
| } | ||||
| 
 | ||||
| static void parse_supported_commands(struct wiphy *wiphy, | ||||
| 						struct l_genl_attr *attr) | ||||
| { | ||||
|  | ||||
| @ -31,6 +31,8 @@ typedef void (*iwd_device_foreach_func)(struct device *, void *data); | ||||
| enum ie_rsn_cipher_suite wiphy_select_cipher(struct wiphy *wiphy, | ||||
| 							uint16_t mask); | ||||
| 
 | ||||
| struct wiphy *wiphy_find(int wiphy_id); | ||||
| 
 | ||||
| bool wiphy_init(struct l_genl_family *in); | ||||
| bool wiphy_exit(void); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Denis Kenzior
						Denis Kenzior