Re: [PATCH] obey CONFIG_DEBUG_NO_STDOUT in wpa_debug.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 14, 2022 at 05:25:55PM +0000, Norman Hamer wrote:
> diff --git a/src/utils/wpa_debug.c b/src/utils/wpa_debug.c
> @@ -80,8 +80,10 @@ void wpa_debug_print_timestamp(void)
>  		fprintf(out_file, "%ld.%06u: ", (long) tv.sec,
>  			(unsigned int) tv.usec);
>  #endif /* CONFIG_DEBUG_FILE */
> +#ifndef CONFIG_DEBUG_NO_STDOUT
>  	if (!out_file && !wpa_debug_syslog)
>  		printf("%ld.%06u: ", (long) tv.sec, (unsigned int) tv.usec);
> +#endif /* CONFIG_DEBUG_NO_STDOUT */
>  #endif /* CONFIG_ANDROID_LOG */
>  }

Why would these be needed? Isn't this all within an already existing
#ifndef CONFIG_NO_STDOUT_DEBUG?

And CONFIG_DEBUG_NO_STDOUT is not used anywhere in hostap.git.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux