From: Jouni Malinen Date: Sat, 7 Jan 2017 16:47:37 +0000 (+0200) Subject: RRM: Use wpa_hexdump_buf() instead of wpa_hexdump() X-Git-Tag: hostap_2_7~1803 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ba94fc4b026c9a720b456cc30b8a5013d977c44;p=thirdparty%2Fhostap.git RRM: Use wpa_hexdump_buf() instead of wpa_hexdump() Simplify the code a bit by using the appropriate debugging function to dump a wpabuf contents. Signed-off-by: Jouni Malinen --- diff --git a/wpa_supplicant/rrm.c b/wpa_supplicant/rrm.c index 0786e0470..92cc8ce27 100644 --- a/wpa_supplicant/rrm.c +++ b/wpa_supplicant/rrm.c @@ -1305,8 +1305,7 @@ void wpas_rrm_handle_link_measurement_request(struct wpa_supplicant *wpa_s, wpabuf_put_u8(buf, WLAN_ACTION_RADIO_MEASUREMENT); wpabuf_put_u8(buf, WLAN_RRM_LINK_MEASUREMENT_REPORT); wpabuf_put_data(buf, &report, sizeof(report)); - wpa_hexdump(MSG_DEBUG, "RRM: Link measurement report:", - wpabuf_head(buf), wpabuf_len(buf)); + wpa_hexdump_buf(MSG_DEBUG, "RRM: Link measurement report", buf); if (wpa_drv_send_action(wpa_s, wpa_s->assoc_freq, 0, src, wpa_s->own_addr, wpa_s->bssid,