From patchwork Tue Jan 18 14:49:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Gardner X-Patchwork-Id: 486381 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0IEmt2k023889 for ; Tue, 18 Jan 2011 14:49:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752272Ab1AROtk (ORCPT ); Tue, 18 Jan 2011 09:49:40 -0500 Received: from mail.tpi.com ([70.99.223.143]:1673 "EHLO mail.tpi.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752170Ab1AROtj (ORCPT ); Tue, 18 Jan 2011 09:49:39 -0500 Received: from [10.0.2.5] (unknown [10.0.2.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail.tpi.com (Postfix) with ESMTP id 5D603293916; Tue, 18 Jan 2011 06:49:26 -0800 (PST) Message-ID: <4D35A87D.3020600@canonical.com> Date: Tue, 18 Jan 2011 07:49:33 -0700 From: Tim Gardner Reply-To: tim.gardner@canonical.com User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: Stanislaw Gruszka CC: stable@kernel.org, Dominik Brodowski , linux-wireless@vger.kernel.org Subject: Re: [PATCH 2.6.32.y] hostap_cs: fix sleeping function called from invalid context References: <1295269524-4937-1-git-send-email-sgruszka@redhat.com> In-Reply-To: <1295269524-4937-1-git-send-email-sgruszka@redhat.com> 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.6 (demeter1.kernel.org [140.211.167.41]); Tue, 18 Jan 2011 14:49:41 +0000 (UTC) From 638d3ea93e2a9cccb860d9e31c84e5d3a3eb38bd Mon Sep 17 00:00:00 2001 From: Tim Gardner Date: Tue, 18 Jan 2011 07:47:45 -0700 Subject: [PATCH] 2.6.32.y, hostap: Return IRQ_NONE if the device has not been configured Signed-off-by: Tim Gardner --- drivers/net/wireless/hostap/hostap_hw.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/hostap/hostap_hw.c b/drivers/net/wireless/hostap/hostap_hw.c index 8721850..789a503 100644 --- a/drivers/net/wireless/hostap/hostap_hw.c +++ b/drivers/net/wireless/hostap/hostap_hw.c @@ -2624,7 +2624,7 @@ static irqreturn_t prism2_interrupt(int irq, void *dev_id) printk(KERN_DEBUG "%s: Interrupt, but dev not configured\n", dev->name); } - return IRQ_HANDLED; + return IRQ_NONE; } iface = netdev_priv(dev); -- 1.7.0.4