From: Johannes Berg Date: Tue, 10 Feb 2009 20:26:02 +0000 (+0100) Subject: mac80211: fix IBSS auth X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a71800f3e3de15583c5d336aafa2853786be18a2;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 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 ||