aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/rrm.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2017-01-07 16:47:37 (GMT)
committerJouni Malinen <j@w1.fi>2017-01-07 16:47:37 (GMT)
commit7ba94fc4b026c9a720b456cc30b8a5013d977c44 (patch)
tree4020a7ee9a4449601dc6ea38182bea00a161466e /wpa_supplicant/rrm.c
parent18d1b41b5c92dfb43c1ded17335e777d9c3e3070 (diff)
downloadhostap-7ba94fc4b026c9a720b456cc30b8a5013d977c44.zip
hostap-7ba94fc4b026c9a720b456cc30b8a5013d977c44.tar.gz
hostap-7ba94fc4b026c9a720b456cc30b8a5013d977c44.tar.bz2
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 <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/rrm.c')
-rw-r--r--wpa_supplicant/rrm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/wpa_supplicant/rrm.c b/wpa_supplicant/rrm.c
index 0786e04..92cc8ce 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,