aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/main.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-01-02 16:15:07 (GMT)
committerJouni Malinen <j@w1.fi>2014-01-02 16:15:07 (GMT)
commita1a31b6c3f9f87f87e232a819065042c85092726 (patch)
tree43f24c50fc0d287e4113663014b6e8df07151275 /hostapd/main.c
parent5dec879d5b7775871f73cd9e7ceafea10a4ec5a2 (diff)
downloadhostap-a1a31b6c3f9f87f87e232a819065042c85092726.zip
hostap-a1a31b6c3f9f87f87e232a819065042c85092726.tar.gz
hostap-a1a31b6c3f9f87f87e232a819065042c85092726.tar.bz2
Remove hostapd dump_file functionality
This debugging mechanism has now been deprecated by the control interface commands that can be used to fetch same internal information from hostapd in a more convenient way. Leave the empty USR1 signal handler and configuration file parameter for backwards compatibility. They can be removed in future versions of hostapd. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd/main.c')
-rw-r--r--hostapd/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/hostapd/main.c b/hostapd/main.c
index 196bccc..edb5a11 100644
--- a/hostapd/main.c
+++ b/hostapd/main.c
@@ -25,7 +25,6 @@
#include "ap/ap_drv_ops.h"
#include "config_file.h"
#include "eap_register.h"
-#include "dump_state.h"
#include "ctrl_iface.h"
@@ -295,10 +294,7 @@ static void handle_reload(int sig, void *signal_ctx)
static void handle_dump_state(int sig, void *signal_ctx)
{
-#ifdef HOSTAPD_DUMP_STATE
- struct hapd_interfaces *interfaces = signal_ctx;
- hostapd_for_each_interface(interfaces, handle_dump_state_iface, NULL);
-#endif /* HOSTAPD_DUMP_STATE */
+ /* Not used anymore - ignore signal */
}
#endif /* CONFIG_NATIVE_WINDOWS */