]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit115f76097273a0baf1e8ff500ae5a8eff5b10730
treeea46a8241ffe0b832454cdb4c861ae1105e8e545
parent6a75bf714f97c27a6a191a62db17a6b6bdaa6306
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