Searched refs:acl_params (Results 1 – 1 of 1) sorted by relevance
1433 struct hostapd_acl_params *acl_params; in hostapd_set_acl_list() local1436 acl_params = os_zalloc(sizeof(*acl_params) + in hostapd_set_acl_list()1437 (n_entries * sizeof(acl_params->mac_acl[0]))); in hostapd_set_acl_list()1438 if (!acl_params) in hostapd_set_acl_list()1442 os_memcpy(acl_params->mac_acl[i].addr, mac_acl[i].addr, in hostapd_set_acl_list()1445 acl_params->acl_policy = accept_acl; in hostapd_set_acl_list()1446 acl_params->num_mac_acl = n_entries; in hostapd_set_acl_list()1448 err = hostapd_drv_set_acl(hapd, acl_params); in hostapd_set_acl_list()1450 os_free(acl_params); in hostapd_set_acl_list()