diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2011-01-11 03:05:48 +0300 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2011-01-19 19:36:07 +0300 |
| commit | 49447f2f9d47c4a57a76db702c9c1dab32fa7934 (patch) | |
| tree | 668ab7667563cf15f00d3001c3651213f5e517c7 | |
| parent | a9e99a0cea3b6e27cca23ad2ef57331a25d886bb (diff) | |
| download | linux-49447f2f9d47c4a57a76db702c9c1dab32fa7934.tar.xz | |
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>
| -rw-r--r-- | drivers/net/wireless/ath/ath9k/xmit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c index 1adfebcd9b9a..6ddba4b361fd 100644 --- a/drivers/net/wireless/ath/ath9k/xmit.c +++ b/drivers/net/wireless/ath/ath9k/xmit.c @@ -856,7 +856,7 @@ int ath_tx_aggr_start(struct ath_softc *sc, struct ieee80211_sta *sta, txtid->state |= AGGR_ADDBA_PROGRESS; txtid->paused = true; - *ssn = txtid->seq_start; + *ssn = txtid->seq_start = txtid->seq_next; return 0; } |
