ath9k: fix initial sequence number after starting an ampdu session
authorFelix Fietkau <nbd@openwrt.org>
Tue, 11 Jan 2011 00:05:48 +0000 (17:05 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 19 Jan 2011 16:36:07 +0000 (11:36 -0500)
commit49447f2f9d47c4a57a76db702c9c1dab32fa7934
tree668ab7667563cf15f00d3001c3651213f5e517c7
parenta9e99a0cea3b6e27cca23ad2ef57331a25d886bb
ath9k: fix initial sequence number after starting an ampdu session

txtid->seq_start may not always be up to date, when there is HT non-AMPDU
traffic just before starting an AMPDU session. Relying on txtid->seq_next
is better, since it is also used to generate the sequence numbers for
all QoS data frames.

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