From c8a3565947ba4dd2ff48e0e54fedd235b2fe015d Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 4 Apr 2020 00:04:32 +0300 Subject: [PATCH] wlantest: Remove duplicate PN/RSC prints from replay cases The PN and RSC are already printed in the "replay detected" debug message so there is no point in having separate hexdumps of the same values immediately after that. Signed-off-by: Jouni Malinen --- wlantest/rx_data.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wlantest/rx_data.c b/wlantest/rx_data.c index df78953f2..ef85e46e3 100644 --- a/wlantest/rx_data.c +++ b/wlantest/rx_data.c @@ -291,8 +291,6 @@ static void rx_data_bss_prot_group(struct wlantest *wt, (le_to_host16(hdr->frame_control) & WLAN_FC_RETRY) ? " Retry" : "", keyid, pn_hex, rsc_hex); - wpa_hexdump(MSG_INFO, "RX PN", pn, 6); - wpa_hexdump(MSG_INFO, "RSC", bss->rsc[keyid], 6); replay = 1; } @@ -562,8 +560,6 @@ static void rx_data_bss_prot(struct wlantest *wt, (le_to_host16(hdr->frame_control) & WLAN_FC_RETRY) ? " Retry" : "", keyid, tid, pn_hex, rsc_hex); - wpa_hexdump(MSG_INFO, "RX PN", pn, 6); - wpa_hexdump(MSG_INFO, "RSC", rsc, 6); replay = 1; }