|
@@ -25,6 +25,7 @@
|
|
|
|
|
|
#include "utils/common.h"
|
|
#include "utils/common.h"
|
|
#include "utils/eloop.h"
|
|
#include "utils/eloop.h"
|
|
|
|
+#include "utils/module_tests.h"
|
|
#include "common/version.h"
|
|
#include "common/version.h"
|
|
#include "common/ieee802_11_defs.h"
|
|
#include "common/ieee802_11_defs.h"
|
|
#include "common/ctrl_iface_common.h"
|
|
#include "common/ctrl_iface_common.h"
|
|
@@ -3339,7 +3340,6 @@ static void hostapd_global_ctrl_iface_receive(int sock, void *eloop_ctx,
|
|
reply_len = -1;
|
|
reply_len = -1;
|
|
#ifdef CONFIG_MODULE_TESTS
|
|
#ifdef CONFIG_MODULE_TESTS
|
|
} else if (os_strcmp(buf, "MODULE_TESTS") == 0) {
|
|
} else if (os_strcmp(buf, "MODULE_TESTS") == 0) {
|
|
- int hapd_module_tests(void);
|
|
|
|
if (hapd_module_tests() < 0)
|
|
if (hapd_module_tests() < 0)
|
|
reply_len = -1;
|
|
reply_len = -1;
|
|
#endif /* CONFIG_MODULE_TESTS */
|
|
#endif /* CONFIG_MODULE_TESTS */
|