wpa_supplicant: Set stdout line-buffered
This makes wpa_supplicant debug output in stdout line-buffered to remain consistent with hostapd. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
de27bc7673
commit
f4637fe0fd
1 changed files with 4 additions and 1 deletions
|
@ -4248,7 +4248,10 @@ struct wpa_global * wpa_supplicant_init(struct wpa_params *params)
|
||||||
wpa_msg_register_ifname_cb(wpa_supplicant_msg_ifname_cb);
|
wpa_msg_register_ifname_cb(wpa_supplicant_msg_ifname_cb);
|
||||||
#endif /* CONFIG_NO_WPA_MSG */
|
#endif /* CONFIG_NO_WPA_MSG */
|
||||||
|
|
||||||
wpa_debug_open_file(params->wpa_debug_file_path);
|
if (params->wpa_debug_file_path)
|
||||||
|
wpa_debug_open_file(params->wpa_debug_file_path);
|
||||||
|
else
|
||||||
|
wpa_debug_setup_stdout();
|
||||||
if (params->wpa_debug_syslog)
|
if (params->wpa_debug_syslog)
|
||||||
wpa_debug_open_syslog();
|
wpa_debug_open_syslog();
|
||||||
if (params->wpa_debug_tracing) {
|
if (params->wpa_debug_tracing) {
|
||||||
|
|
Loading…
Reference in a new issue