From: Dan Williams Date: Sun, 25 Nov 2012 19:53:55 +0000 (+0200) Subject: PMKSA: Clear current cache entry on disassociation X-Git-Tag: hostap_2_0~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0639970d89dcd1d92e9f280ecfb9209b965458aa;p=thirdparty%2Fhostap.git PMKSA: Clear current cache entry on disassociation Signed-hostap: Dan Williams --- diff --git a/src/rsn_supp/wpa.c b/src/rsn_supp/wpa.c index c825ec7b6..3c45f3a02 100644 --- a/src/rsn_supp/wpa.c +++ b/src/rsn_supp/wpa.c @@ -2099,6 +2099,7 @@ void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) void wpa_sm_notify_disassoc(struct wpa_sm *sm) { rsn_preauth_deinit(sm); + pmksa_cache_clear_current(sm); if (wpa_sm_get_state(sm) == WPA_4WAY_HANDSHAKE) sm->dot11RSNA4WayHandshakeFailures++; #ifdef CONFIG_TDLS