#ifndef CONFIG_NATIVE_WINDOWS
+#include "common.h"
#include "hostapd.h"
#include "config.h"
#include "ieee802_11.h"
hostapd_set_radius_acl_auth(hapd, query->addr, cache->accepted,
cache->session_timeout);
#else /* CONFIG_DRIVER_RADIUS_ACL */
-#ifdef NEED_MLME
+#ifdef NEED_AP_MLME
/* Re-send original authentication frame for 802.11 processing */
wpa_printf(MSG_DEBUG, "Re-sending authentication frame after "
"successful RADIUS ACL query");
- ieee802_11_mgmt(hapd, query->auth_msg, query->auth_msg_len,
- WLAN_FC_STYPE_AUTH, NULL);
-#endif /* NEED_MLME */
+ ieee802_11_mgmt(hapd, query->auth_msg, query->auth_msg_len, NULL);
+#endif /* NEED_AP_MLME */
#endif /* CONFIG_DRIVER_RADIUS_ACL */
done:
}
}
-
-int hostapd_acl_reconfig(struct hostapd_data *hapd,
- struct hostapd_config *oldconf)
-{
- if (!hapd->radius_client_reconfigured)
- return 0;
-
- hostapd_acl_deinit(hapd);
- return hostapd_acl_init(hapd);
-}
-
#endif /* CONFIG_NATIVE_WINDOWS */