hostapd/src/rsn_supp
Jouni Malinen 4033935dd9 Fix OKC-based PMKSA cache entry clearing
Commit c3fea27274 added a call to clear
all other PMKSA cache entries for the same network if the PMKSA cache
entry of the current AP changed. This was needed to fix OKC cases since
the other APs would likely use the new PMK in the future. However, this
ended up clearing entries in cases where that is not desired and this
resulted in needing additional full EAP authentication with networks
that did not support OKC if wpa_supplicant was configured to try to use
it.

Make PMKSA cache entry flushing more limited so that the other entries
are removed only if they used the old PMK that was replaced for the
current AP and only if that PMK had previously been used successfully
(i.e., opportunistic flag was already cleared back to 0 in
wpa_supplicant_key_neg_complete()). This is still enough to fix the
issue described in that older commit while not causing problems for
standard PMKSA caching operations even if OKC is enabled in
wpa_supplicant configuration.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
2013-05-22 13:24:30 +03:00
..
Makefile Remove unnecessary SUBDIRS loops from src/*/Makefile 2010-04-17 17:10:31 +03:00
peerkey.c Move cipher suite selection into common helper functions 2013-01-13 16:58:54 +02:00
peerkey.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
pmksa_cache.c Fix OKC-based PMKSA cache entry clearing 2013-05-22 13:24:30 +03:00
pmksa_cache.h Fix OKC-based PMKSA cache entry clearing 2013-05-22 13:24:30 +03:00
preauth.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
preauth.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tdls.c TDLS: Retry TDLS Setup Response more quickly 2013-05-20 21:30:27 +03:00
wpa.c Fix OKC-based PMKSA cache entry clearing 2013-05-22 13:24:30 +03:00
wpa.h TDLS: Pass peer's AID information to kernel 2013-05-06 15:47:44 +03:00
wpa_ft.c FT: Reset FT flag upon STA deauthentication 2013-04-26 17:56:24 +03:00
wpa_i.h TDLS: Pass peer's AID information to kernel 2013-05-06 15:47:44 +03:00
wpa_ie.c TDLS: Pass peer's AID information to kernel 2013-05-06 15:47:44 +03:00
wpa_ie.h TDLS: Pass peer's AID information to kernel 2013-05-06 15:47:44 +03:00