Browse Source

WPS: Added more verbose debug info on authentication type mismatch

Jouni Malinen 16 years ago
parent
commit
79d7d8efe7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/wps/wps_registrar.c

+ 2 - 1
src/wps/wps_registrar.c

@@ -1420,7 +1420,8 @@ static int wps_process_auth_type_flags(struct wps_data *wps, const u8 *auth)
 	wps->auth_type = wps->wps->auth_types & auth_types;
 	if (wps->auth_type == 0) {
 		wpa_printf(MSG_DEBUG, "WPS: No match in supported "
-			   "authentication types");
+			   "authentication types (own 0x%x Enrollee 0x%x)",
+			   wps->wps->auth_types, auth_types);
 		return -1;
 	}