diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-02-10 21:26:02 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-13 19:46:01 +0100 |
commit | a71800f3e3de15583c5d336aafa2853786be18a2 (patch) | |
tree | 8b0d52480d94b989572ace40a0084a55678529b8 /net/mac80211/mlme.c | |
parent | mac80211: calculate wstats_flags on the fly (diff) | |
download | linux-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.c | 1 |
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 || |