summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-02-10 21:26:02 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-02-13 19:46:01 +0100
commita71800f3e3de15583c5d336aafa2853786be18a2 (patch)
tree8b0d52480d94b989572ace40a0084a55678529b8 /net/mac80211/mlme.c
parentmac80211: calculate wstats_flags on the fly (diff)
downloadlinux-a71800f3e3de15583c5d336aafa2853786be18a2.tar.xz
linux-a71800f3e3de15583c5d336aafa2853786be18a2.zip
mac80211: fix IBSS auth
The code beyond this point is supposed to be used for non-IBSS (managed) mode only. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: Jouni Malinen <j@w1.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to '')
-rw-r--r--net/mac80211/mlme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index c51860f66731..332397415890 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -1205,6 +1205,7 @@ static void ieee80211_rx_mgmt_auth(struct ieee80211_sub_if_data *sdata,
if (auth_alg != WLAN_AUTH_OPEN || auth_transaction != 1)
return;
ieee80211_send_auth(sdata, ifsta, 2, NULL, 0, 0);
+ return;
}
if (auth_alg != ifsta->auth_alg ||