Browse Source

WPS: Convert printf() debug print to use wpa_printf()

Signed-hostap: Jouni Malinen <j@w1.fi>
Jouni Malinen 11 years ago
parent
commit
ea6fc58ccf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/wps/wps_registrar.c

+ 1 - 1
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) {