mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-17 18:34:03 -05:00
P2P: Show own channel list in debug log
This makes it easier to debug channel negotiation mechanisms. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
4c490780e2
commit
7759fba1c2
@ -132,7 +132,8 @@ void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country,
|
|||||||
|
|
||||||
/* Update attribute length */
|
/* Update attribute length */
|
||||||
WPA_PUT_LE16(len, (u8 *) wpabuf_put(buf, 0) - len - 2);
|
WPA_PUT_LE16(len, (u8 *) wpabuf_put(buf, 0) - len - 2);
|
||||||
wpa_printf(MSG_DEBUG, "P2P: * Channel List");
|
wpa_hexdump(MSG_DEBUG, "P2P: * Channel List",
|
||||||
|
len + 2, (u8 *) wpabuf_put(buf, 0) - len - 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user