From: Jouni Malinen Date: Sun, 5 Jan 2014 15:09:56 +0000 (+0200) Subject: WPS: Convert printf() debug print to use wpa_printf() X-Git-Tag: hostap_2_1~181 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea6fc58ccfe10aff5755e679ffc0dfdb902e2f4c;p=thirdparty%2Fhostap.git WPS: Convert printf() debug print to use wpa_printf() Signed-hostap: Jouni Malinen --- diff --git a/src/wps/wps_registrar.c b/src/wps/wps_registrar.c index a82544a45..19490a15f 100644 --- a/src/wps/wps_registrar.c +++ b/src/wps/wps_registrar.c @@ -3453,7 +3453,7 @@ int wps_registrar_config_ap(struct wps_registrar *reg, struct wps_credential *cred) { #ifdef CONFIG_WPS2 - printf("encr_type=0x%x\n", cred->encr_type); + wpa_printf(MSG_DEBUG, "WPS: encr_type=0x%x", cred->encr_type); if (!(cred->encr_type & (WPS_ENCR_NONE | WPS_ENCR_TKIP | WPS_ENCR_AES))) { if (cred->encr_type & WPS_ENCR_WEP) {