aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorSunil Dutt <duttus@codeaurora.org>2012-10-04 18:11:04 (GMT)
committerJouni Malinen <j@w1.fi>2012-10-04 18:11:04 (GMT)
commitec947ffcd8d22fb03da9e6519e910f91f044ad06 (patch)
treef5c746a4b76bece050454c2831812d60edcef7d5 /wpa_supplicant/config_ssid.h
parentc097652828f6cf89450d9de23be2ac502c5c59d1 (diff)
downloadhostap-ec947ffcd8d22fb03da9e6519e910f91f044ad06.zip
hostap-ec947ffcd8d22fb03da9e6519e910f91f044ad06.tar.gz
hostap-ec947ffcd8d22fb03da9e6519e910f91f044ad06.tar.bz2
WPS: Reenable the networks disabled during wpa_wpas_reassoc
During the association for the WPS handshake all the other configured networks are disabled. This patch makes wpa_supplicant reenable the disabled networks after the success/failure of the WPS handshake. Signed-hostap: Sunil Dutt Undekari <duttus@codeaurora.org>
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 796b3d9..be83cc2 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -323,6 +323,14 @@ struct wpa_ssid {
int disabled;
/**
+ * disabled_for_connect - Whether this network was temporarily disabled
+ *
+ * This flag is used to reenable all the temporarily disabled networks
+ * after either the success or failure of a WPS connection.
+ */
+ int disabled_for_connect;
+
+ /**
* peerkey - Whether PeerKey handshake for direct links is allowed
*
* This is only used when both RSN/WPA2 and IEEE 802.11e (QoS) are