Use wpa_msg() instead of wpa_printf()
authorBen Greear <greearb@candelatech.com>
Thu, 10 Feb 2011 18:14:46 +0000 (20:14 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 10 Feb 2011 18:14:46 +0000 (20:14 +0200)
commitf049052b9eb76d0c92d4b22b853de1f55c644745
tree2934245fbfa7cdf46c7d8187054524d699f095d2
parent2944824315b7c74838c551ef08c9843e02de1d46
Use wpa_msg() instead of wpa_printf()

This converts number of debugging messages to use wpa_msg() in order
to allow the interface name to be shown with the messages.

A new function, wpa_dbg(), is introduced to allow
CONFIG_NO_STDOUT_DEBUG=y builds to remove the debug strings. This is
otherwise identical with wpa_msg(), but it gets compiled out if stdout
debugging is disabled.
src/rsn_supp/wpa.c
src/utils/wpa_debug.h
wpa_supplicant/bss.c
wpa_supplicant/events.c
wpa_supplicant/scan.c
wpa_supplicant/sme.c
wpa_supplicant/wpa_supplicant.c