ath9k: fix clearing expired A-MPDU subframes in tx completion
authorFelix Fietkau <nbd@openwrt.org>
Tue, 6 Aug 2013 12:18:09 +0000 (14:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 9 Aug 2013 19:58:15 +0000 (15:58 -0400)
commit897d7fd9b5f1bee657d000b882c642541bb2ba3e
tree90932eadea3a5d68f63ef6d983ee4abfad457431
parent73364b0c470a9c0361a389f3460357a7c7ffd75d
ath9k: fix clearing expired A-MPDU subframes in tx completion

When the tid aggregation state has been marked as inactive, free
completed tx packets immediately. When a new aggregation session has not
been initialized yet, the BAW checks do not recognize it as expired.

Might fix potential stalls in setting up a new aggregation session.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c