|
@@ -271,6 +271,8 @@ static int wpa_config_read_global(struct wpa_config *config, HKEY hk)
|
|
|
wpa_config_read_reg_dword(hk, TEXT("disassoc_low_ack"),
|
|
|
(int *) &config->disassoc_low_ack);
|
|
|
|
|
|
+ wpa_config_read_reg_dword(hk, TEXT("okc"), &config->okc);
|
|
|
+
|
|
|
return errors ? -1 : 0;
|
|
|
}
|
|
|
|
|
@@ -609,6 +611,8 @@ static int wpa_config_write_global(struct wpa_config *config, HKEY hk)
|
|
|
wpa_config_write_reg_dword(hk, TEXT("disassoc_low_ack"),
|
|
|
config->disassoc_low_ack, 0);
|
|
|
|
|
|
+ wpa_config_write_reg_dword(hk, TEXT("okc"), config->okc, 0);
|
|
|
+
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
@@ -904,7 +908,8 @@ static int wpa_config_write_network(HKEY hk, struct wpa_ssid *ssid, int id)
|
|
|
INT_DEFe(fragment_size, DEFAULT_FRAGMENT_SIZE);
|
|
|
#endif /* IEEE8021X_EAPOL */
|
|
|
INT(mode);
|
|
|
- INT(proactive_key_caching);
|
|
|
+ write_int(netw, "proactive_key_caching", ssid->proactive_key_caching,
|
|
|
+ -1);
|
|
|
INT(disabled);
|
|
|
INT(peerkey);
|
|
|
#ifdef CONFIG_IEEE80211W
|