[PATCH 1/2] Change wpa_printf to wpa_msg in scan.c

Jouni Malinen j
Thu Feb 10 10:27:34 PST 2011


Thanks! I applied following patches:

0003-Change-wpa_printf-to-wpa_msg-in-scan.c.patch
0005-Convert-wpa_printf-to-wpa_msg-in-events.c.patch
0006-wpa-Convert-wpa_printf-to-wpa_msg.patch
0007-Convert-wpa_printf-to-wpa_msg-for-bss.c.patch
0018-supplicant-Convert-sme.c-to-use-wpa_msg-instead-of-w.patch
0019-supplicant-Convert-wpa_printf-to-wpa_msg-in-wpa_supp.patch

I removed couple of changes that passed in NULL as the counter pointer
since I see no point in using wpa_msg() instead of wpa_printf() in such
cases. In addition, I introduced a new function (or well, pre-processor
macro), wpa_dbg(), that can be used like wpa_msg(), but which can be
compiled out from CONFIG_NO_STDOUT_DEBUG=y builds. This is needed to
avoid noticeable increase in the binary size for builds that do not need
verbose debugging.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list