From ea6fc58ccfe10aff5755e679ffc0dfdb902e2f4c Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 5 Jan 2014 17:09:56 +0200 Subject: [PATCH] WPS: Convert printf() debug print to use wpa_printf() Signed-hostap: Jouni Malinen --- src/wps/wps_registrar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {