On 2018-09-29 03:06, Toke Høiland-Jørgensen wrote:
Rajkumar Manoharan <rmano...@codeaurora.org> writes:
- ath10k_htt_tx_txq_update(hw, f_txq);
+ if (ret == -EBUSY) {
+ ieee80211_txq_schedule_start(hw, ac);
+ ieee80211_return_txq(hw, txq);
+ ieee80211_txq_schedule_end(hw, ac);
+ }
And ieee80211_return_txq() should be called regardless of the return
code (it'll do it's own checking and do nothing if the queue is empty).
Yeah.. Seems like calling return_txq unconditionally is messing with
may_transmit sequence. i.e pull mode.
-Rajkumar