WPS: Added more verbose debug info on authentication type mismatch
authorJouni Malinen <j@w1.fi>
Sun, 30 Nov 2008 17:56:11 +0000 (19:56 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 30 Nov 2008 17:56:11 +0000 (19:56 +0200)
src/wps/wps_registrar.c

index c3699a9..4b45c7d 100644 (file)
@@ -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;
        }