]> git.hungrycats.org Git - linux/commit
ath9k: fix aggregation session lockup
authorFelix Fietkau <nbd@openwrt.org>
Wed, 23 Jul 2014 13:40:54 +0000 (15:40 +0200)
committerJiri Slaby <jslaby@suse.cz>
Tue, 19 Aug 2014 12:23:34 +0000 (14:23 +0200)
commitf97dcfbb2d1d5664b4c523470f3fe587c7c8a439
treee5d37cc88b165a7f7ab480f2a3151ebb196d933d
parent8e49be939c5868035f26a77e997cab2e4f6b5d13
ath9k: fix aggregation session lockup

commit c01fac1c77a00227f706a1654317023e3f4ac7f0 upstream.

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.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/net/wireless/ath/ath9k/xmit.c