Skip to content

Commit

Permalink
iwlwifi: pcie: don't reset the TX queue counter
Browse files Browse the repository at this point in the history
A few NICs can get into trouble if we reset the TX queue
counters in certain very rare situation. To be on the safe
side, simply avoid to reset the TX queue counter.
This is relevant for non-AMPDU queues only since on AMPDU
we have no choice - we must start the TX queue at the right
index.

Signed-off-by: Emmanuel Grumbach <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
  • Loading branch information
egrumbach authored and jmberg-intel committed Oct 2, 2013
1 parent 01ea748 commit f477252
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/iwlwifi/pcie/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,8 @@ void iwl_trans_pcie_txq_enable(struct iwl_trans *trans, int txq_id, int fifo,
* non-AGG queue.
*/
iwl_clear_bits_prph(trans, SCD_AGGR_SEL, BIT(txq_id));

ssn = trans_pcie->txq[txq_id].q.read_ptr;
}

/* Place first TFD at index corresponding to start sequence number.
Expand Down

0 comments on commit f477252

Please sign in to comment.