diff options
author | Nikolay Martynov <mar.kolya@gmail.com> | 2011-11-22 02:32:06 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-28 23:36:22 +0400 |
commit | 4eb287a4048e4a2cb0400a6d972d97739ec8c799 (patch) | |
tree | 56b41c9627152aee4ce75354508a96f7257e72bf /drivers/net/wireless/ath/ath9k/eeprom_def.c | |
parent | f724828bd3db7e0fe6f17ed8de2656bfbfed5c4e (diff) | |
download | linux-4eb287a4048e4a2cb0400a6d972d97739ec8c799.tar.xz |
ath9k: improve ath_tx_aggr_stop to avoid TID stuck in cleanup state
When tx agg is being stopped TID is flushed using ath_tx_flush_tid. It
is possible that ath_tx_flush_tid completelly flushes TID (if all
packets in this TID have already been retried). If this happened
ath_tx_aggr_stop would leave TID in cleanup state permanently.
Fix this by making ath_tx_flush_tid remove AGGR_ADDBA_COMPLETE and
AGGR_CLEANUP flags from TID status if TID is empty.
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/eeprom_def.c')
0 files changed, 0 insertions, 0 deletions