ath9k: Fix TX poll work locking
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Mon, 26 Aug 2013 06:17:22 +0000 (11:47 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Aug 2013 18:09:07 +0000 (14:09 -0400)
There is no need to call ath_txq_unlock_complete() in the
TX poll routine - frame completion is not done here,
so use ath_txq_unlock().

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/link.c

index fff5d3c..2f831db 100644 (file)
@@ -41,7 +41,7 @@ void ath_tx_complete_poll_work(struct work_struct *work)
                                txq->axq_tx_inprogress = true;
                        }
                }
-               ath_txq_unlock_complete(sc, txq);
+               ath_txq_unlock(sc, txq);
        }
 
        if (needreset) {