]> 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)
commitc72ee67cbd5a6a9f5496a2b83d3e18cc5635edb0
treeea46a8241ffe0b832454cdb4c861ae1105e8e545
parent7afbfb985c7a0434208cf0db5753d5f9fe664056
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