From 7ba94fc4b026c9a720b456cc30b8a5013d977c44 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 7 Jan 2017 18:47:37 +0200 Subject: [PATCH] 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 --- wpa_supplicant/rrm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,