]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
WPS: Show the received UUID-E from Probe Request in debug log
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 10 Mar 2011 16:38:16 +0000 (18:38 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 10 Mar 2011 16:38:16 +0000 (18:38 +0200)
This makes it easier to debug PBC session overlap issues.

src/wps/wps_registrar.c

index e7f1a9ac7b812e48a21299bde11f2e6ed27060d5..3d7bd992549978e60940d852093db114b2cd341f 100644 (file)
@@ -1005,6 +1005,8 @@ void wps_registrar_probe_req_rx(struct wps_registrar *reg, const u8 *addr,
                           "UUID-E included");
                return;
        }
+       wpa_hexdump(MSG_DEBUG, "WPS: UUID-E from Probe Request", attr.uuid_e,
+                   WPS_UUID_LEN);
 
        wps_registrar_add_pbc_session(reg, addr, attr.uuid_e);
        if (wps_registrar_pbc_overlap(reg, addr, attr.uuid_e)) {