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>
This commit is contained in:
Sujith Manoharan 2013-08-26 11:47:22 +05:30 committed by John W. Linville
parent d1ae25a017
commit d4c04ba141

View 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) {