From c94ec09ed39f5e5f40a967da80694ae501c7106b Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 15 Nov 2009 18:28:59 +0200 Subject: [PATCH] WPS: Do not use ASCII-dump on binary PutWLANResponse NewMessage --- hostapd/wps_hostapd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hostapd/wps_hostapd.c b/hostapd/wps_hostapd.c index 5de4d3c..945e095 100644 --- a/hostapd/wps_hostapd.c +++ b/hostapd/wps_hostapd.c @@ -885,8 +885,8 @@ static int hostapd_rx_req_put_wlan_response( wpa_printf(MSG_DEBUG, "WPS UPnP: PutWLANResponse ev_type=%d mac_addr=" MACSTR, ev_type, MAC2STR(mac_addr)); - wpa_hexdump_ascii(MSG_MSGDUMP, "WPS UPnP: PutWLANResponse NewMessage", - wpabuf_head(msg), wpabuf_len(msg)); + wpa_hexdump(MSG_MSGDUMP, "WPS UPnP: PutWLANResponse NewMessage", + wpabuf_head(msg), wpabuf_len(msg)); if (ev_type != UPNP_WPS_WLANEVENT_TYPE_EAP) { wpa_printf(MSG_DEBUG, "WPS UPnP: Ignored unexpected " "PutWLANResponse WLANEventType %d", ev_type); -- 2.1.4