Browse Source

WPS: Do not use ASCII-dump on binary PutWLANResponse NewMessage

Jouni Malinen 15 years ago
parent
commit
c94ec09ed3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      hostapd/wps_hostapd.c

+ 2 - 2
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);