aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-02-02 15:00:12 (GMT)
committerJouni Malinen <j@w1.fi>2011-02-02 15:00:12 (GMT)
commitd1c8ac88b9dea5925fc66a9ab8b54a4b77e353fa (patch)
treea5aec74b656b4d0527498c47b7770cc4acac2dbd /wpa_supplicant/config_ssid.h
parent0661eed204553d869ddbd3bed050385797d6fa2a (diff)
downloadhostap-d1c8ac88b9dea5925fc66a9ab8b54a4b77e353fa.zip
hostap-d1c8ac88b9dea5925fc66a9ab8b54a4b77e353fa.tar.gz
hostap-d1c8ac88b9dea5925fc66a9ab8b54a4b77e353fa.tar.bz2
DBus: Publish provisioned keys in network properties
When the network was provisioned, we need to get the keys to be able to reconnect without new provisioning. To be able to publish those keys but not normally configured ones, add a new attribute to struct wpa_ssid indicating whether or not keys may be exported. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 38da3fc..8419f43 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -400,6 +400,14 @@ struct wpa_ssid {
* temporary - Whether this network is temporary and not to be saved
*/
int temporary;
+
+ /**
+ * export_keys - Whether keys may be exported
+ *
+ * This attribute will be set when keys are determined through
+ * WPS or similar so that they may be exported.
+ */
+ int export_keys;
};
#endif /* CONFIG_SSID_H */