aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-01-27 23:26:14 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-28 11:09:31 (GMT)
commitba4226130e602f35ef09dc872235ad27a8dfb3c1 (patch)
treed5758a6e4fdc035c26c305368e9f5ecb7fe8f63b /wpa_supplicant/events.c
parenta08fdb17aa3cbe18d8ceb3650ba8d3eac6dcb811 (diff)
downloadhostap-ba4226130e602f35ef09dc872235ad27a8dfb3c1.zip
hostap-ba4226130e602f35ef09dc872235ad27a8dfb3c1.tar.gz
hostap-ba4226130e602f35ef09dc872235ad27a8dfb3c1.tar.bz2
Simplify eapol_sm_notify_pmkid_attempt()
Drop the unneeded 'attempt' argument. This was originally used for indicating an aborted PMKID caching attempt, but a fix in 2006 removed the only such user and since that time, only attempt == 1 has been used. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index ee034d5..ad55241 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -240,7 +240,7 @@ static void wpa_find_assoc_pmkid(struct wpa_supplicant *wpa_s)
ie.pmkid + i * PMKID_LEN,
NULL, NULL, 0);
if (pmksa_set == 0) {
- eapol_sm_notify_pmkid_attempt(wpa_s->eapol, 1);
+ eapol_sm_notify_pmkid_attempt(wpa_s->eapol);
break;
}
}