[PATCH] obey CONFIG_DEBUG_NO_STDOUT in wpa_debug.c
NHamer at absolute.com
Mon Oct 31 11:27:26 PDT 2022
From: Jouni Malinen <j at w1.fi>
Sent: Sunday, October 30, 2022 1:37 AM
To: Norman Hamer <NHamer at absolute.com>
Cc: hostap at lists.infradead.org
Subject: Re: [PATCH] obey CONFIG_DEBUG_NO_STDOUT in wpa_debug.c
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.
Yeah, it is, but if you actually define CONFIG_NO_STDOUT_DEBUG, it leaves you with no definition for wpa_printf/wpa_hexdump.
We are using it in conjunction with private patches which redirect to a local logging facility which doesn't have a functional stdout.
More information about the Hostap