]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix proactive_key_caching configuration to WPA code
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 16 Sep 2011 15:44:06 +0000 (18:44 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 16 Sep 2011 15:44:06 +0000 (18:44 +0300)
The proactive_key_caching parameter was missed in mapping the
config_ssid data into the WPA state machine configuration. This
prevented addition of PMKSA cache entries based on PMKSA caching
candidate events.

wpa_supplicant/wpas_glue.c

index 98b082c89eeecf96d352c4eda9e7f757098f5c23..0547c16ffd868c5309b0f69d2a6037a0a5c3e1ba 100644 (file)
@@ -740,6 +740,7 @@ void wpa_supplicant_rsn_supp_set_config(struct wpa_supplicant *wpa_s,
                conf.peerkey_enabled = ssid->peerkey;
                conf.allowed_pairwise_cipher = ssid->pairwise_cipher;
 #ifdef IEEE8021X_EAPOL
+               conf.proactive_key_caching = ssid->proactive_key_caching;
                conf.eap_workaround = ssid->eap_workaround;
                conf.eap_conf_ctx = &ssid->eap;
 #endif /* IEEE8021X_EAPOL */