From patchwork Tue Oct 20 07:41:47 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sedat Dilek X-Patchwork-Id: 54898 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9K7fsvn023816 for ; Tue, 20 Oct 2009 07:41:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751072AbZJTHls (ORCPT ); Tue, 20 Oct 2009 03:41:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751061AbZJTHls (ORCPT ); Tue, 20 Oct 2009 03:41:48 -0400 Received: from ey-out-2122.google.com ([74.125.78.27]:36191 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751028AbZJTHlr (ORCPT ); Tue, 20 Oct 2009 03:41:47 -0400 Received: by ey-out-2122.google.com with SMTP id 9so1116676eyd.19 for ; Tue, 20 Oct 2009 00:41:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=URSBb0lbGvJuWTNfuPmRGan+xybcFA2CkH+tabsf6n0=; b=gG/ZYRbykxCF0ZwmtRsNHm0dnWIrQqi5VYN5tUX7lU3JAG07gzfOphCeBvQ6wuFkJM ifBm5PHz6vcQ/Y6girIE85wUKlfY6K3PoJMgHIFB1QSPlNqX+lPWrv0wD4RzzkHmDvmj KSU7U3F+ySBGdDhYmw+ohTv/swSCNHFQBC1lI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OViolvP0zPZ3vTUXPSLLIG5Nhm6iuh8m+fhJkwxgDkFLFa6ZQFgl6tiKa0PSeTtBH4 kdlze7xHklldUEEwtxn/xjfqCo/5naAUurkB9W/oQN5oPHC8i9JRygjMPI7/xdqTdh33 Bsr+K7rMvvCX0wJRyT0jneDURv2bGn5uEw40k= MIME-Version: 1.0 Received: by 10.216.87.143 with SMTP id y15mr2117789wee.39.1256024507693; Tue, 20 Oct 2009 00:41:47 -0700 (PDT) In-Reply-To: <2d0a357f0910200033t25c6b848x6d321057b69e47e6@mail.gmail.com> References: <1256018933.4475.6.camel@johannes.local> <2d0a357f0910200033t25c6b848x6d321057b69e47e6@mail.gmail.com> Date: Tue, 20 Oct 2009 09:41:47 +0200 Message-ID: <2d0a357f0910200041m25c03477gaec88566cc871cce@mail.gmail.com> Subject: Re: [PATCH] cfg80211: sme: deauthenticate on assoc failure From: Sedat Dilek To: Johannes Berg Cc: John Linville , linux-wireless , "Luis R. Rodriguez" Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From f13a19c1865355cb62ae730538c979ecf0653c2a Mon Sep 17 00:00:00 2001 From: Sedat Dilek 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