mirror of https://gitee.com/openkylin/linux.git
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:
parent
d1ae25a017
commit
d4c04ba141
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue