aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/sme.c
diff options
context:
space:
mode:
authorChet Lanctot <clanctot@qca.qualcomm.com>2013-03-11 11:49:40 (GMT)
committerJouni Malinen <j@w1.fi>2013-03-11 11:49:40 (GMT)
commit3ee9ade6cf7220465b923be17e938a7d496b0042 (patch)
tree6145020af57c7af6f6525c959bd0388dd6b25f4c /wpa_supplicant/sme.c
parent5139008b5105b40007ae7e83bc469cef39db9fbb (diff)
downloadhostap-3ee9ade6cf7220465b923be17e938a7d496b0042.zip
hostap-3ee9ade6cf7220465b923be17e938a7d496b0042.tar.gz
hostap-3ee9ade6cf7220465b923be17e938a7d496b0042.tar.bz2
Allow SME SA Query to be used by all drivers
The unprotected disconnection events were previously processed only for drivers that used the wpa_supplicant SME implementation (separate authentication and association commands). However, this can be useful for drivers that use the connect API, so remove the limitation and allow the same IEEE 802.11w SA Query mechanism to be used even without full use of the wpa_supplicant SME. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/sme.c')
-rw-r--r--wpa_supplicant/sme.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index 92762ef..4c78161 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -1269,8 +1269,6 @@ void sme_event_unprot_disconnect(struct wpa_supplicant *wpa_s, const u8 *sa,
{
struct wpa_ssid *ssid;
- if (!(wpa_s->drv_flags & WPA_DRIVER_FLAGS_SME))
- return;
if (wpa_s->wpa_state != WPA_COMPLETED)
return;
ssid = wpa_s->current_ssid;