aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/sme.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-10-22 19:45:38 (GMT)
committerJouni Malinen <j@w1.fi>2011-10-22 19:45:38 (GMT)
commit17fbb751e174854f01986690eb1bb989923aa7fd (patch)
treea7520b2fb36e2ea9f3f3eeb786e6ebfe16f367bf /wpa_supplicant/sme.c
parent745e8aba693bf743b32a8fea6cf57d2f4e11bc80 (diff)
downloadhostap-17fbb751e174854f01986690eb1bb989923aa7fd.zip
hostap-17fbb751e174854f01986690eb1bb989923aa7fd.tar.gz
hostap-17fbb751e174854f01986690eb1bb989923aa7fd.tar.bz2
Remove user space client MLME
This code was used only with driver_test.c to allow MLME operations in hostapd to be tested without having to use a real radio. There are no plans on extending this to any other use than testing and mac80211_hwsim has now obsoled the need for this type of testing. As such, we can drop this code from wpa_supplicant to clean up the implementation of unnecessary complexity.
Diffstat (limited to 'wpa_supplicant/sme.c')
-rw-r--r--wpa_supplicant/sme.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index 06ebb81..cba8444 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -529,8 +529,7 @@ void sme_event_disassoc(struct wpa_supplicant *wpa_s,
union wpa_event_data *data)
{
wpa_dbg(wpa_s, MSG_DEBUG, "SME: Disassociation event received");
- if (wpa_s->sme.prev_bssid_set &&
- !(wpa_s->drv_flags & WPA_DRIVER_FLAGS_USER_SPACE_MLME)) {
+ if (wpa_s->sme.prev_bssid_set) {
/*
* cfg80211/mac80211 can get into somewhat confused state if
* the AP only disassociates us and leaves us in authenticated