Replace hostapd_michael_mic_failure() with generic driver event
[libeap.git] / hostapd / mlme.c
index d883931..adc7ce6 100644 (file)
 
 #include "includes.h"
 
-#include "hostapd.h"
+#include "common.h"
 #include "ieee802_11.h"
 #include "wpa.h"
+#include "sta_info.h"
 #include "mlme.h"
 
 
+#ifndef CONFIG_NO_HOSTAPD_LOGGER
 static const char * mlme_auth_alg_str(int alg)
 {
        switch (alg) {
@@ -35,6 +37,7 @@ static const char * mlme_auth_alg_str(int alg)
 
        return "unknown";
 }
+#endif /* CONFIG_NO_HOSTAPD_LOGGER */
 
 
 /**