aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-01-30 07:31:59 +0100
committerRafał Miłecki <rafal@milecki.pl>2017-01-31 13:55:26 +0100
commit546b1a4d36b4a6e0b2ce7bfa7d7f0641306c4ba3 (patch)
tree2583d86284af2722999b8f6ee1365e53a93d2c1d /package/network
parent33a840a3ff4cc15b45cf3fb47c772b5a44ecfe5c (diff)
downloadupstream-546b1a4d36b4a6e0b2ce7bfa7d7f0641306c4ba3.tar.gz
upstream-546b1a4d36b4a6e0b2ce7bfa7d7f0641306c4ba3.tar.bz2
upstream-546b1a4d36b4a6e0b2ce7bfa7d7f0641306c4ba3.zip
hostapd: enable support for logging wpa_printf messages to syslog
This will allow starting hostapd with the new -s parameter and finally read all (error) messages from the syslog. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'package/network')
-rw-r--r--package/network/services/hostapd/files/hostapd-full.config3
-rw-r--r--package/network/services/hostapd/files/hostapd-mini.config3
2 files changed, 6 insertions, 0 deletions
diff --git a/package/network/services/hostapd/files/hostapd-full.config b/package/network/services/hostapd/files/hostapd-full.config
index e388109fbb..4a2e87c2eb 100644
--- a/package/network/services/hostapd/files/hostapd-full.config
+++ b/package/network/services/hostapd/files/hostapd-full.config
@@ -146,6 +146,9 @@ CONFIG_IEEE80211AC=y
# code is not needed.
#CONFIG_NO_STDOUT_DEBUG=y
+# Send debug messages to syslog instead of stdout
+CONFIG_DEBUG_SYSLOG=y
+
# Remove support for RADIUS accounting
#CONFIG_NO_ACCOUNTING=y
diff --git a/package/network/services/hostapd/files/hostapd-mini.config b/package/network/services/hostapd/files/hostapd-mini.config
index 8baff18fe4..2bd7d239c5 100644
--- a/package/network/services/hostapd/files/hostapd-mini.config
+++ b/package/network/services/hostapd/files/hostapd-mini.config
@@ -142,6 +142,9 @@ CONFIG_IEEE80211AC=y
# code is not needed.
#CONFIG_NO_STDOUT_DEBUG=y
+# Send debug messages to syslog instead of stdout
+CONFIG_DEBUG_SYSLOG=y
+
# Remove support for RADIUS accounting
CONFIG_NO_ACCOUNTING=y