diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-02-02 17:00:12 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2011-02-02 17:00:12 +0200 |
commit | d1c8ac88b9dea5925fc66a9ab8b54a4b77e353fa (patch) | |
tree | a5aec74b656b4d0527498c47b7770cc4acac2dbd /wpa_supplicant/config_ssid.h | |
parent | 0661eed204553d869ddbd3bed050385797d6fa2a (diff) | |
download | external_wpa_supplicant_8_ti-d1c8ac88b9dea5925fc66a9ab8b54a4b77e353fa.zip external_wpa_supplicant_8_ti-d1c8ac88b9dea5925fc66a9ab8b54a4b77e353fa.tar.gz external_wpa_supplicant_8_ti-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.h | 8 |
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 */ |