Deleted Added
full compact
402,403c402
< * @eloop_ctx: struct hostapd_data *
< * @timeout_ctx: Not used
---
> * @hapd: struct hostapd_data *
405c404
< static void hostapd_acl_expire(void *eloop_ctx, void *timeout_ctx)
---
> void hostapd_acl_expire(struct hostapd_data *hapd)
407d405
< struct hostapd_data *hapd = eloop_ctx;
413,414d410
<
< eloop_register_timeout(10, 0, hostapd_acl_expire, hapd, NULL);
563a560,572
>
> if (cache->vlan_id &&
> !hostapd_vlan_id_valid(hapd->conf->vlan, cache->vlan_id)) {
> hostapd_logger(hapd, query->addr,
> HOSTAPD_MODULE_RADIUS,
> HOSTAPD_LEVEL_INFO,
> "Invalid VLAN ID %d received from RADIUS server",
> cache->vlan_id);
> cache->vlan_id = 0;
> }
> if (hapd->conf->ssid.dynamic_vlan == DYNAMIC_VLAN_REQUIRED &&
> !cache->vlan_id)
> cache->accepted = HOSTAPD_ACL_REJECT;
605,606d613
<
< eloop_register_timeout(10, 0, hostapd_acl_expire, hapd, NULL);
622,623d628
< eloop_cancel_timeout(hostapd_acl_expire, hapd, NULL);
<