aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-02-10 15:26:02 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-13 13:46:01 -0500
commita71800f3e3de15583c5d336aafa2853786be18a2 (patch)
tree8b0d52480d94b989572ace40a0084a55678529b8 /net/mac80211
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>
Diffstat (limited to 'net/mac80211')
-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,
1205 if (auth_alg != WLAN_AUTH_OPEN || auth_transaction != 1) 1205 if (auth_alg != WLAN_AUTH_OPEN || auth_transaction != 1)
1206 return; 1206 return;
1207 ieee80211_send_auth(sdata, ifsta, 2, NULL, 0, 0); 1207 ieee80211_send_auth(sdata, ifsta, 2, NULL, 0, 0);
1208 return;
1208 } 1209 }
1209 1210
1210 if (auth_alg != ifsta->auth_alg || 1211 if (auth_alg != ifsta->auth_alg ||