diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2013-08-26 02:17:22 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-08-26 14:09:07 -0400 |
commit | d4c04ba141d4c5981aebc0aa0ecadc0f16f99387 (patch) | |
tree | f94c269403137b08f9d3b3b2d63b3a46b75560e2 /drivers | |
parent | d1ae25a0174938f03e28dee8f3269a826fc1bec5 (diff) |
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')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/link.c | 2 |
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) | |||
41 | txq->axq_tx_inprogress = true; | 41 | txq->axq_tx_inprogress = true; |
42 | } | 42 | } |
43 | } | 43 | } |
44 | ath_txq_unlock_complete(sc, txq); | 44 | ath_txq_unlock(sc, txq); |
45 | } | 45 | } |
46 | 46 | ||
47 | if (needreset) { | 47 | if (needreset) { |