aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/rx_eapol.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-11-21 11:18:02 (GMT)
committerJouni Malinen <j@w1.fi>2010-11-21 11:18:02 (GMT)
commit0778c8f5ed65c9699862407e321e1ef0644cb3c6 (patch)
tree373c7c7e6071e37b5e05eab25c1f835e98999237 /wlantest/rx_eapol.c
parent902621e2b072246abd828706c6469be21195536a (diff)
downloadhostap-0778c8f5ed65c9699862407e321e1ef0644cb3c6.zip
hostap-0778c8f5ed65c9699862407e321e1ef0644cb3c6.tar.gz
hostap-0778c8f5ed65c9699862407e321e1ef0644cb3c6.tar.bz2
wlantest: Add more debugging details for PMK selection
Diffstat (limited to 'wlantest/rx_eapol.c')
-rw-r--r--wlantest/rx_eapol.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wlantest/rx_eapol.c b/wlantest/rx_eapol.c
index cbab673..9d920e3 100644
--- a/wlantest/rx_eapol.c
+++ b/wlantest/rx_eapol.c
@@ -131,15 +131,20 @@ static void derive_ptk(struct wlantest *wt, struct wlantest_bss *bss,
{
struct wlantest_pmk *pmk;
+ wpa_printf(MSG_DEBUG, "Trying to derive PTK for " MACSTR,
+ MAC2STR(sta->addr));
dl_list_for_each(pmk, &bss->pmk, struct wlantest_pmk, list) {
+ wpa_printf(MSG_DEBUG, "Try per-BSS PMK");
if (try_pmk(bss, sta, ver, data, len, pmk) == 0)
return;
}
dl_list_for_each(pmk, &wt->pmk, struct wlantest_pmk, list) {
+ wpa_printf(MSG_DEBUG, "Try global PMK");
if (try_pmk(bss, sta, ver, data, len, pmk) == 0)
return;
}
+ wpa_printf(MSG_DEBUG, "No matching PMK found to derive PTK");
}