From: Jouni Malinen Date: Mon, 24 Sep 2012 19:14:50 +0000 (+0300) Subject: P2P: Show own channel list in debug log X-Git-Tag: hostap_2_0~204 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7759fba1c286cdcaca3903d1cffefff220332095;p=thirdparty%2Fhostap.git P2P: Show own channel list in debug log This makes it easier to debug channel negotiation mechanisms. Signed-hostap: Jouni Malinen --- diff --git a/src/p2p/p2p_build.c b/src/p2p/p2p_build.c index def422de6..5838d35e9 100644 --- a/src/p2p/p2p_build.c +++ b/src/p2p/p2p_build.c @@ -132,7 +132,8 @@ void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, /* Update attribute length */ 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); }