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 <stijn@linux-ipv6.be>
This commit is contained in:
Stijn Tintel 2017-08-08 07:56:06 +02:00
parent 3e9c06d78c
commit e7373e489d

View file

@ -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} \