Report EAPOL-RX events for testing purposes
This makes it more convenient to track EAPOL frame reception from an external test script. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
04283cf36b
commit
7f0a2e4225
1 changed files with 2 additions and 0 deletions
|
@ -4780,6 +4780,8 @@ void wpa_supplicant_rx_eapol(void *ctx, const u8 *src_addr,
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_TESTING_OPTIONS
|
#ifdef CONFIG_TESTING_OPTIONS
|
||||||
|
wpa_msg_ctrl(wpa_s, MSG_INFO, "EAPOL-RX " MACSTR " %zu",
|
||||||
|
MAC2STR(src_addr), len);
|
||||||
if (wpa_s->ignore_auth_resp) {
|
if (wpa_s->ignore_auth_resp) {
|
||||||
wpa_printf(MSG_INFO, "RX EAPOL - ignore_auth_resp active!");
|
wpa_printf(MSG_INFO, "RX EAPOL - ignore_auth_resp active!");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue