Thread (9 messages) flat view 9 messages, 4 authors, 2013-03-24

Re: [PATCH] ath9k : Fix ieee80211 work while going to suspend

From: Parag Warudkar <hidden>
Date: 2013-03-24 16:16:30
Also in: linux-wireless, lkml

On Fri, Mar 22, 2013 at 11:08 AM, Luis R. Rodriguez
[off-list ref] wrote:
On Fri, Mar 22, 2013 at 10:13:42AM +0100, Stanislaw Gruszka wrote:
quoted
On Thu, Mar 21, 2013 at 12:33:31PM -0700, Luis R. Rodriguez wrote:
quoted
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 <redacted>
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 <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help