Fixed opportunistic key caching (OKC)
authorJouni Malinen <j@w1.fi>
Sun, 3 Aug 2008 17:16:59 +0000 (20:16 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 3 Aug 2008 17:16:59 +0000 (20:16 +0300)
commit3ff77e070de25ba9c78528906079e54377e61a95
tree6c22bbd6ec5014ac5126ab21366d2d496ad493ea
parent3fbda8f943fff3e8afd649663bdcbba9cbfd6ee3
Fixed opportunistic key caching (OKC)

wpa_sm_set_config() can be called even if the network block does not
change. However, the previous version ended up calling
pmksa_cache_notify_reconfig() every time and this cleared the network
context from PMKSA cache entries. This prevented OKC from ever being used.

Do not call pmksa_cache_notify_reconfig() if the network context remains
unchanged to allow OKC to be used.
src/rsn_supp/wpa.c
wpa_supplicant/ChangeLog