]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
wlantest: Remove duplicate PN/RSC prints from replay cases
authorJouni Malinen <j@w1.fi>
Fri, 3 Apr 2020 21:04:32 +0000 (00:04 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 3 Apr 2020 21:04:32 +0000 (00:04 +0300)
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 <j@w1.fi>
wlantest/rx_data.c

index df78953f2dd59d0091fff23393c8a247802c60c4..ef85e46e3c76900aed9e7a5edf6f7cb9341527c9 100644 (file)
@@ -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;
        }