Home
last modified time | relevance | path

Searched refs:acl_params (Results 1 – 1 of 1) sorted by relevance

/external/wpa_supplicant_8/src/ap/
Dhostapd.c1166 struct hostapd_acl_params *acl_params; in hostapd_set_acl_list() local
1169 acl_params = os_zalloc(sizeof(*acl_params) + in hostapd_set_acl_list()
1170 (n_entries * sizeof(acl_params->mac_acl[0]))); in hostapd_set_acl_list()
1171 if (!acl_params) in hostapd_set_acl_list()
1175 os_memcpy(acl_params->mac_acl[i].addr, mac_acl[i].addr, in hostapd_set_acl_list()
1178 acl_params->acl_policy = accept_acl; in hostapd_set_acl_list()
1179 acl_params->num_mac_acl = n_entries; in hostapd_set_acl_list()
1181 err = hostapd_drv_set_acl(hapd, acl_params); in hostapd_set_acl_list()
1183 os_free(acl_params); in hostapd_set_acl_list()