hostapd: Use wpa_printf() for hostapd_logger() to stdout
This allows log-to-file (-f command line option) to be used to redirect these messages to the same file with all the other stdout debug. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
d956022c11
commit
b253e6ff55
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ static void hostapd_logger_cb(void *ctx, const u8 *addr, unsigned int module,
|
|||
|
||||
if ((conf_stdout & module) && level >= conf_stdout_level) {
|
||||
wpa_debug_print_timestamp();
|
||||
printf("%s\n", format);
|
||||
wpa_printf(MSG_INFO, "%s", format);
|
||||
}
|
||||
|
||||
#ifndef CONFIG_NATIVE_WINDOWS
|
||||
|
|
Loading…
Reference in a new issue