Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4c04ba1 authored by Sujith Manoharan's avatar Sujith Manoharan Committed by John W. Linville
Browse files

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: default avatarSujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d1ae25a0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {