aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorHu Wang <huw@qti.qualcomm.com>2014-08-29 17:11:13 (GMT)
committerJouni Malinen <j@w1.fi>2014-08-29 17:25:18 (GMT)
commite5a4b85b2fa416efb516825f884a0eda5b3f1c40 (patch)
tree40fc346d556cc3a08da91d336f6ac1acbb6e3bfc /wpa_supplicant/config_ssid.h
parentdb9418bb1b8054b54d9b299e0334850d5e2b77ad (diff)
downloadhostap-e5a4b85b2fa416efb516825f884a0eda5b3f1c40.zip
hostap-e5a4b85b2fa416efb516825f884a0eda5b3f1c40.tar.gz
hostap-e5a4b85b2fa416efb516825f884a0eda5b3f1c40.tar.bz2
WPS: Merge mixed-WPA/WPA2 credentials if received in same session
Some deployed APs send two credentials when in mixed-WPA/WPA2 configuration; one for the WPA-Personal/TKIP and the other for WPA2-Personal/CCMP. Previously, this would result in two network blocks getting added for the single AP. This can be somewhat confusing and unnecessary, so merge such credentials into a single one that allows both WPA and WPA2 to be used. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index ab474ff..26b91bd 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -651,6 +651,8 @@ struct wpa_ssid {
#ifdef CONFIG_HS20
int update_identifier;
#endif /* CONFIG_HS20 */
+
+ unsigned int wps_run;
};
#endif /* CONFIG_SSID_H */