From e7373e489d8a215402d6b0c408a26188342c7c17 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Tue, 8 Aug 2017 07:56:06 +0200 Subject: [PATCH] wpa_supplicant: log to syslog instead of stdout While debugging an issue with a client device, wpa_supplicant did not seem to log anything at all. Make wpa_supplicant log to syslog instead of stdout, to make debugging easier and to be consistent with hostapd. Signed-off-by: Stijn Tintel --- package/network/services/hostapd/files/hostapd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 8e3f88a115..0030516ccd 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -758,7 +758,7 @@ wpa_supplicant_run() { _wpa_supplicant_common "$ifname" - /usr/sbin/wpa_supplicant -B \ + /usr/sbin/wpa_supplicant -B -s \ ${network_bridge:+-b $network_bridge} \ -P "/var/run/wpa_supplicant-${ifname}.pid" \ -D ${_w_driver:-wext} \