mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
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 <j@w1.fi>
This commit is contained in:
parent
3e537313e8
commit
c8a3565947
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user