Remove unused hostapd_wep_key_cmp()
The only user was removed five years ago in commit
fb6d357532.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
			
			
This commit is contained in:
		
							parent
							
								
									76a30196ad
								
							
						
					
					
						commit
						b465f5d3a1
					
				
					 2 changed files with 0 additions and 16 deletions
				
			
		|  | @ -338,20 +338,6 @@ int hostapd_setup_wpa_psk(struct hostapd_bss_config *conf) | |||
| } | ||||
| 
 | ||||
| 
 | ||||
| int hostapd_wep_key_cmp(struct hostapd_wep_keys *a, struct hostapd_wep_keys *b) | ||||
| { | ||||
| 	int i; | ||||
| 
 | ||||
| 	if (a->idx != b->idx || a->default_len != b->default_len) | ||||
| 		return 1; | ||||
| 	for (i = 0; i < NUM_WEP_KEYS; i++) | ||||
| 		if (a->len[i] != b->len[i] || | ||||
| 		    os_memcmp(a->key[i], b->key[i], a->len[i]) != 0) | ||||
| 			return 1; | ||||
| 	return 0; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| static void hostapd_config_free_radius(struct hostapd_radius_server *servers, | ||||
| 				       int num_servers) | ||||
| { | ||||
|  |  | |||
|  | @ -608,8 +608,6 @@ void hostapd_config_free(struct hostapd_config *conf); | |||
| int hostapd_maclist_found(struct mac_acl_entry *list, int num_entries, | ||||
| 			  const u8 *addr, int *vlan_id); | ||||
| int hostapd_rate_found(int *list, int rate); | ||||
| int hostapd_wep_key_cmp(struct hostapd_wep_keys *a, | ||||
| 			struct hostapd_wep_keys *b); | ||||
| const u8 * hostapd_get_psk(const struct hostapd_bss_config *conf, | ||||
| 			   const u8 *addr, const u8 *p2p_dev_addr, | ||||
| 			   const u8 *prev_psk); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Jouni Malinen
						Jouni Malinen