diff mbox

cfg80211: sme: deauthenticate on assoc failure

Message ID 2d0a357f0910200041m25c03477gaec88566cc871cce@mail.gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Sedat Dilek Oct. 20, 2009, 7:41 a.m. UTC
None
diff mbox

Patch

From f13a19c1865355cb62ae730538c979ecf0653c2a Mon Sep 17 00:00:00 2001
From: Sedat Dilek <sedat.dilek@gmail.com>
Date: Tue, 20 Oct 2009 09:39:36 +0200
Subject: [PATCH] Revert "mac80211: fix SME warning by removing stale BSS upon assoc failure"

This reverts commit 73984d9660a569336854657fb4adae38c1673177.
---
 net/mac80211/mlme.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 697a149..71220a5 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -1465,7 +1465,7 @@  ieee80211_rx_mgmt_assoc_resp(struct ieee80211_sub_if_data *sdata,
 		       sdata->dev->name, status_code);
 		list_del(&wk->list);
 		kfree(wk);
-		return RX_MGMT_CFG80211_DEAUTH;
+		return RX_MGMT_CFG80211_ASSOC;
 	}
 
 	if ((aid & (BIT(15) | BIT(14))) != (BIT(15) | BIT(14)))
-- 
1.6.3.1