ath9k: fix aggregation session lockup
authorFelix Fietkau <nbd@openwrt.org>
Wed, 23 Jul 2014 13:40:54 +0000 (15:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 23 Jul 2014 17:03:11 +0000 (13:03 -0400)
If an aggregation session fails, frames still end up in the driver queue
with IEEE80211_TX_CTL_AMPDU set.
This causes tx for the affected station/tid to stall, since
ath_tx_get_tid_subframe returning packets to send.

Fix this by clearing IEEE80211_TX_CTL_AMPDU as long as no aggregation
session is running.

Cc: stable@vger.kernel.org
Reported-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found