From: Johannes Berg Date: Tue, 10 Feb 2009 20:26:02 +0000 (+0100) Subject: mac80211: fix IBSS auth X-Git-Tag: MMI-PSA29.97-13-9~29230^2~738^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a71800f3e3de15583c5d336aafa2853786be18a2;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Cc: Jouni Malinen Signed-off-by: John W. Linville --- 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 ||