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>
v19.07.3_mercusys_ac12_duma
Stijn Tintel 7 years ago
parent 3e9c06d78c
commit e7373e489d

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

Loading…
Cancel
Save