From: Jouni Malinen Date: Sat, 3 Dec 2011 10:47:34 +0000 (+0200) Subject: nl80211: Use binary hexdump for scan IEs instead of text X-Git-Tag: aosp-jb-start~209 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b1c7bfdc506e27759ef20698a4e263233c67067;p=thirdparty%2Fhostap.git nl80211: Use binary hexdump for scan IEs instead of text The IEs are binary data, so there is not much point in trying to show them as ASCII data in debug prints. Signed-hostap: Jouni Malinen --- diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index e385e1366..1e738cf26 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -2683,8 +2683,8 @@ static int wpa_driver_nl80211_scan(void *priv, nla_put_nested(msg, NL80211_ATTR_SCAN_SSIDS, ssids); if (params->extra_ies) { - wpa_hexdump_ascii(MSG_MSGDUMP, "nl80211: Scan extra IEs", - params->extra_ies, params->extra_ies_len); + wpa_hexdump(MSG_MSGDUMP, "nl80211: Scan extra IEs", + params->extra_ies, params->extra_ies_len); NLA_PUT(msg, NL80211_ATTR_IE, params->extra_ies_len, params->extra_ies); }