WPS: Convert printf() debug print to use wpa_printf()
authorJouni Malinen <j@w1.fi>
Sun, 5 Jan 2014 15:09:56 +0000 (17:09 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 7 Jan 2014 08:45:11 +0000 (10:45 +0200)
Signed-hostap: Jouni Malinen <j@w1.fi>

src/wps/wps_registrar.c

index a82544a..19490a1 100644 (file)
@@ -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) {