ath9k: fix bogus sequence number increases on aggregation tid flush
authorFelix Fietkau <nbd@openwrt.org>
Tue, 11 Jan 2011 00:05:47 +0000 (17:05 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 19 Jan 2011 16:36:07 +0000 (11:36 -0500)
commita9e99a0cea3b6e27cca23ad2ef57331a25d886bb
tree345165a3f63c6aebdbd0b980018978a25dbc3122
parent80d184e6cfb1ba7371152c4c91652d770c9caddb
ath9k: fix bogus sequence number increases on aggregation tid flush

When a tid pointer is passed to ath_tx_send_normal(), it increases the
starting sequence number for the next AMPDU action frame, which should
only be done if the sequence number assignment is fresh. In this case
it is clearly not.

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