diff options
author | Wojciech Dubowik <Wojciech.Dubowik@neratec.com> | 2017-01-23 12:55:04 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2017-01-29 22:57:13 (GMT) |
commit | cc3dae85bd694506cdea66ae532d452fb8716297 (patch) | |
tree | 30f75260974ce0ef89e05b5fc56787bfe9f7b1d8 /hostapd/Android.mk | |
parent | 0da355235e4752e0bed46ca617d752de656a5784 (diff) | |
download | hostap-cc3dae85bd694506cdea66ae532d452fb8716297.zip hostap-cc3dae85bd694506cdea66ae532d452fb8716297.tar.gz hostap-cc3dae85bd694506cdea66ae532d452fb8716297.tar.bz2 |
hostapd: Add possibility to send debug messages to syslog
We can only send module specific messages to syslog and not debug
messages printed with wpa_printf. Add an extra command line parameter
'-s' to allow it. The feature is enabled with compile flag
CONFIG_DEBUG_SYSLOG as for wpa_supplicant and behaves in the same manner
as the wpa_supplicant -s command line argument.
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Diffstat (limited to 'hostapd/Android.mk')
-rw-r--r-- | hostapd/Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk index 9a14be4..ec2d55a 100644 --- a/hostapd/Android.mk +++ b/hostapd/Android.mk @@ -952,6 +952,10 @@ ifdef CONFIG_NO_STDOUT_DEBUG L_CFLAGS += -DCONFIG_NO_STDOUT_DEBUG endif +ifdef CONFIG_DEBUG_SYSLOG +L_CFLAGS += -DCONFIG_DEBUG_SYSLOG +endif + ifdef CONFIG_DEBUG_LINUX_TRACING L_CFLAGS += -DCONFIG_DEBUG_LINUX_TRACING endif |