static void hostapd_global_deinit(const char *pid_file)
{
-#ifdef EAP_TNC
+#ifdef EAP_SERVER_TNC
tncs_global_deinit();
-#endif /* EAP_TNC */
+#endif /* EAP_SERVER_TNC */
eloop_destroy();
static int hostapd_global_run(struct hapd_interfaces *ifaces, int daemonize,
const char *pid_file)
{
-#ifdef EAP_TNC
+#ifdef EAP_SERVER_TNC
int tnc = 0;
size_t i, k;
wpa_printf(MSG_ERROR, "Failed to initialize TNCS");
return -1;
}
-#endif /* EAP_TNC */
+#endif /* EAP_SERVER_TNC */
if (daemonize && os_daemonize(pid_file)) {
perror("daemon");