Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933493Ab3CVOmF (ORCPT ); Fri, 22 Mar 2013 10:42:05 -0400 Received: from sabertooth02.qualcomm.com ([65.197.215.38]:42603 "EHLO sabertooth02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751862Ab3CVOmD (ORCPT ); Fri, 22 Mar 2013 10:42:03 -0400 X-IronPort-AV: E=Sophos;i="4.84,892,1355126400"; d="scan'208";a="31175217" X-IronPort-AV: E=Sophos;i="4.84,891,1355126400"; d="scan'208";a="455609478" Date: Fri, 22 Mar 2013 08:08:47 -0700 From: "Luis R. Rodriguez" To: Stanislaw Gruszka CC: "John W. Linville" , Parag Warudkar , Jouni Malinen , Vasanthakumar Thiagarajan , , , , LKML , Subject: Re: [PATCH] ath9k : Fix ieee80211 work while going to suspend Message-ID: <20130322150847.GH32416@pogo> References: <20130318191340.GA28919@tuxdriver.com> <20130318210308.GD32416@pogo> <20130321114219.GB1459@redhat.com> <20130321193331.GB32416@pogo> <20130322091342.GB1496@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20130322091342.GB1496@redhat.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Originating-IP: [172.30.39.5] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1123 Lines: 29 On Fri, Mar 22, 2013 at 10:13:42AM +0100, Stanislaw Gruszka wrote: > On Thu, Mar 21, 2013 at 12:33:31PM -0700, Luis R. Rodriguez wrote: > > OK how about this for stable for now: > > > > diff --git a/drivers/net/wireless/ath/ath9k/link.c b/drivers/net/wireless/ath/ath9k/link.c > > index 39c84ec..7fdac6c 100644 > > --- a/drivers/net/wireless/ath/ath9k/link.c > > +++ b/drivers/net/wireless/ath/ath9k/link.c > > @@ -170,7 +170,8 @@ void ath_rx_poll(unsigned long data) > > { > > struct ath_softc *sc = (struct ath_softc *)data; > > > > - ieee80211_queue_work(sc->hw, &sc->hw_check_work); > > + if (!test_bit(SC_OP_INVALID, &sc->sc_flags)) > > + ieee80211_queue_work(sc->hw, &sc->hw_check_work); > > } > > That looks ok for me as -stable fix > > Reviewed-by: Stanislaw Gruszka Parag, can you test the above to ensure it fixes your issue ? Luis -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/