]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
Avoid unnecessary key clearing operations
authorJouni Malinen <j@w1.fi>
Thu, 2 Jan 2014 21:46:21 +0000 (23:46 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 2 Jan 2014 21:49:38 +0000 (23:49 +0200)
commit2f30cac36f9209b0b2849b5e12931cc9e98b8a76
tree8a1427cb32afbf3bc1dd90f593c37373aa34d350
parent466bcf99c342aed22952c079dcceed52d5738892
Avoid unnecessary key clearing operations

Track set_key operations per-key index and clear keys on disconnection
only if the key was set (or may have been set which is the case for the
first operation after wpa_supplicant start).

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/driver_i.h
wpa_supplicant/events.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h