Searched refs:acl_params (Results 1 – 1 of 1) sorted by relevance
1328 struct hostapd_acl_params *acl_params; in hostapd_set_acl_list() local1331 acl_params = os_zalloc(sizeof(*acl_params) + in hostapd_set_acl_list()1332 (n_entries * sizeof(acl_params->mac_acl[0]))); in hostapd_set_acl_list()1333 if (!acl_params) in hostapd_set_acl_list()1337 os_memcpy(acl_params->mac_acl[i].addr, mac_acl[i].addr, in hostapd_set_acl_list()1340 acl_params->acl_policy = accept_acl; in hostapd_set_acl_list()1341 acl_params->num_mac_acl = n_entries; in hostapd_set_acl_list()1343 err = hostapd_drv_set_acl(hapd, acl_params); in hostapd_set_acl_list()1345 os_free(acl_params); in hostapd_set_acl_list()