diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-20 17:51:53 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-22 21:03:21 (GMT) |
commit | 1381559ba48a04ca7c98f1b4c487bd44d0b75db5 (patch) | |
tree | ea46a8241ffe0b832454cdb4c861ae1105e8e545 /drivers/net/wireless/ath/ath9k/beacon.c | |
parent | 0a62acb1c9da58b54cb1c9fa6604a36507a61d48 (diff) | |
download | linux-1381559ba48a04ca7c98f1b4c487bd44d0b75db5.tar.xz |
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/beacon.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/beacon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/beacon.c b/drivers/net/wireless/ath/ath9k/beacon.c index 531fffd..a129f83 100644 --- a/drivers/net/wireless/ath/ath9k/beacon.c +++ b/drivers/net/wireless/ath/ath9k/beacon.c @@ -198,7 +198,7 @@ static struct ath_buf *ath9k_beacon_generate(struct ieee80211_hw *hw, if (sc->nvifs > 1) { ath_dbg(common, BEACON, "Flushing previous cabq traffic\n"); - ath_draintxq(sc, cabq, false); + ath_draintxq(sc, cabq); } } |