Searched refs:acl_params (Results 1 – 1 of 1) sorted by relevance
1181 struct hostapd_acl_params *acl_params; in hostapd_set_acl_list() local1184 acl_params = os_zalloc(sizeof(*acl_params) + in hostapd_set_acl_list()1185 (n_entries * sizeof(acl_params->mac_acl[0]))); in hostapd_set_acl_list()1186 if (!acl_params) in hostapd_set_acl_list()1190 os_memcpy(acl_params->mac_acl[i].addr, mac_acl[i].addr, in hostapd_set_acl_list()1193 acl_params->acl_policy = accept_acl; in hostapd_set_acl_list()1194 acl_params->num_mac_acl = n_entries; in hostapd_set_acl_list()1196 err = hostapd_drv_set_acl(hapd, acl_params); in hostapd_set_acl_list()1198 os_free(acl_params); in hostapd_set_acl_list()