aboutsummaryrefslogtreecommitdiff
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 13:46:01 -0500
commita71800f3e3de15583c5d336aafa2853786be18a2 (patch)
tree8b0d52480d94b989572ace40a0084a55678529b8
parent9a03d6d7a8698f26f8ef02dd3c91f8f68c4edcc7 (diff)
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>
-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 c51860f6673..33239741589 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 ||