WPS: Show the received UUID-E from Probe Request in debug log

This makes it easier to debug PBC session overlap issues.
This commit is contained in:
Jouni Malinen 2011-03-10 18:38:16 +02:00 committed by Jouni Malinen
parent ca29141c83
commit 80e75578c4

View file

@ -1005,6 +1005,8 @@ void wps_registrar_probe_req_rx(struct wps_registrar *reg, const u8 *addr,
"UUID-E included"); "UUID-E included");
return; 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); wps_registrar_add_pbc_session(reg, addr, attr.uuid_e);
if (wps_registrar_pbc_overlap(reg, addr, attr.uuid_e)) { if (wps_registrar_pbc_overlap(reg, addr, attr.uuid_e)) {