aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2013-08-26 11:47:22 +0530
committerJohn W. Linville <linville@tuxdriver.com>2013-08-26 14:09:07 -0400
commitd4c04ba141d4c5981aebc0aa0ecadc0f16f99387 (patch)
treef94c269403137b08f9d3b3b2d63b3a46b75560e2 /drivers/net/wireless
parentath9k: Fix ASPM workaround usage (diff)
downloadlinux-dev-d4c04ba141d4c5981aebc0aa0ecadc0f16f99387.tar.xz
linux-dev-d4c04ba141d4c5981aebc0aa0ecadc0f16f99387.zip
ath9k: Fix TX poll work locking
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>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath/ath9k/link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/link.c b/drivers/net/wireless/ath/ath9k/link.c
index fff5d3ccc663..2f831db396ac 100644
--- a/drivers/net/wireless/ath/ath9k/link.c
+++ b/drivers/net/wireless/ath/ath9k/link.c
@@ -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) {