Parcourir la source

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

Jouni Malinen il y a 15 ans
Parent
commit
c94ec09ed3
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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);