[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOULuOYfwEAwBWbWAUYX2FaPtufTUqkCndcfA1ntiMPGkPi5qA@mail.gmail.com>
Date: Sun, 24 Mar 2013 12:16:27 -0400
From: Parag Warudkar <parag.lkml@...il.com>
To: "Luis R. Rodriguez" <rodrigue@....qualcomm.com>
Cc: Stanislaw Gruszka <sgruszka@...hat.com>,
"John W. Linville" <linville@...driver.com>,
Jouni Malinen <jouni@....qualcomm.com>,
Vasanthakumar Thiagarajan <vthiagar@....qualcomm.com>,
linux-wireless@...r.kernel.org, ath9k-devel@...ema.h4ckr.net,
netdev@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
senthilb@....qualcomm.com
Subject: Re: [PATCH] ath9k : Fix ieee80211 work while going to suspend
On Fri, Mar 22, 2013 at 11:08 AM, Luis R. Rodriguez
<rodrigue@....qualcomm.com> wrote:
> 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 <sgruszka@...hat.com>
>
> Parag, can you test the above to ensure it fixes your issue ?
Seems to be working ok so far.
Reported-and-tested-by: Parag Warudkar <parag.lkml@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists