ath9k: clean up processing of pending tx frames on reset
authorFelix Fietkau <nbd@openwrt.org>
Sun, 20 Jan 2013 17:51:53 +0000 (18:51 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Jan 2013 21:03:21 +0000 (16:03 -0500)
commit1381559ba48a04ca7c98f1b4c487bd44d0b75db5
treeea46a8241ffe0b832454cdb4c861ae1105e8e545
parent0a62acb1c9da58b54cb1c9fa6604a36507a61d48
ath9k: clean up processing of pending tx frames on reset

Dropping packets from aggregation sessions is usually not a good idea, as
it might upset the synchronization of the BlockAck receive window of the
remote node. The use of the retry_tx parameter to reset/tx-drain functions
also seemed a bit arbitrary.
This patch removes this parameter altogether and ensures that pending tx
frames are not dropped for no good reason.

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