aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-11-22 15:53:27 (GMT)
committerJouni Malinen <j@w1.fi>2012-11-24 10:24:34 (GMT)
commit736d4f2d771df202290bc75472d69b763228af87 (patch)
treed5d5ba517bd2ae56c10c3c6ff4e1c52861da8356 /wpa_supplicant/config_ssid.h
parentf403dcd648e81beae097d54058ef9acdd881ed46 (diff)
downloadhostap-736d4f2d771df202290bc75472d69b763228af87.zip
hostap-736d4f2d771df202290bc75472d69b763228af87.tar.gz
hostap-736d4f2d771df202290bc75472d69b763228af87.tar.bz2
HS 2.0: Remove temporary network block on cred block removal
If the credential that was used to create a temporary HS 2.0 network block is removed, remove the network block, too. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 2d4d914..99f3766 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -542,6 +542,15 @@ struct wpa_ssid {
* disabled_until - Network block disabled until this time if non-zero
*/
struct os_time disabled_until;
+
+ /**
+ * parent_cred - Pointer to parent wpa_cred entry
+ *
+ * This pointer can be used to delete temporary networks when a wpa_cred
+ * that was used to create them is removed. This pointer should not be
+ * dereferences since it may not be updated in all cases.
+ */
+ void *parent_cred;
};
#endif /* CONFIG_SSID_H */