From patchwork Thu Jul 1 17:21:31 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Stewart X-Patchwork-Id: 109189 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o61HLaEs004898 for ; Thu, 1 Jul 2010 17:21:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751535Ab0GARVf (ORCPT ); Thu, 1 Jul 2010 13:21:35 -0400 Received: from smtp-out.google.com ([74.125.121.35]:53630 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751422Ab0GARVe (ORCPT ); Thu, 1 Jul 2010 13:21:34 -0400 Received: from wpaz1.hot.corp.google.com (wpaz1.hot.corp.google.com [172.24.198.65]) by smtp-out.google.com with ESMTP id o61HLWfd004475 for ; Thu, 1 Jul 2010 10:21:32 -0700 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1278004893; bh=tBDGPwVlaMl9+4M6lvHNddWozkw=; h=MIME-Version:Date:Message-ID:Subject:From:To:Cc:Content-Type; b=aMsqG6YPhzsBOd6lJFK2niX3PqgqzRDujU8XsCNMNai+Kr5jjtnKWxbdpgXdoJmWU 42+XsghLyCchbLL+LUdwg== DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:date:message-id:subject:from:to:cc: content-type:x-system-of-record; b=O5T265fDFk6U0K1dXAS88ondoqybyvCJfCLZsaNhv98cXBudjUWncD8UOGx7ts50O eZGO8hwxq+3l32Sks7u0g== Received: from iwn7 (iwn7.prod.google.com [10.241.68.71]) by wpaz1.hot.corp.google.com with ESMTP id o61HLQXZ009705 for ; Thu, 1 Jul 2010 10:21:31 -0700 Received: by iwn7 with SMTP id 7so3200416iwn.33 for ; Thu, 01 Jul 2010 10:21:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.120.210 with SMTP id e18mr10739276ibr.84.1278004891245; Thu, 01 Jul 2010 10:21:31 -0700 (PDT) Received: by 10.231.130.73 with HTTP; Thu, 1 Jul 2010 10:21:31 -0700 (PDT) Date: Thu, 1 Jul 2010 10:21:31 -0700 Message-ID: Subject: [PATCH 2.6.34] mac80211: Fix auth retries if AP sends temporary deauth From: Paul Stewart To: Johannes Berg Cc: linux-wireless@vger.kernel.org, Michael Wu , Jiri Benc , "John W. Linville" X-System-Of-Record: true Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 01 Jul 2010 17:21:36 +0000 (UTC) diff --git a/net/mac80211/work.c b/net/mac80211/work.c index 15e1ba9..800929e 100644 --- a/net/mac80211/work.c +++ b/net/mac80211/work.c @@ -1006,7 +1006,7 @@ ieee80211_rx_result ieee80211_work_rx_mgmt(struct ieee80211_sub_if_data *sdata, struct ieee80211_local *local = sdata->local; struct ieee80211_mgmt *mgmt; struct ieee80211_work *wk; - u16 fc; + u16 fc, reason_code; if (skb->len < 24)