diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-12-14 16:08:06 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-12-15 14:46:36 -0500 |
commit | 6ee8284edb9be5cd567ff3f772de3bf55c73fc7a (patch) | |
tree | 0f9ffe8e66106385f8bdf47b41bf5bf53943d006 /drivers/net/wireless | |
parent | b047701383cf886ee18124db0a8c027af6ccc07b (diff) |
ath9k: remove bogus sequence number increment
tid->seq_next is initialized on A-MPDU start anyway, and the comment next
to this chunk of code seems to be bogus as well.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/xmit.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c index b1a37d28deee..8f38efbea5dc 100644 --- a/drivers/net/wireless/ath/ath9k/xmit.c +++ b/drivers/net/wireless/ath/ath9k/xmit.c | |||
@@ -1729,10 +1729,6 @@ static void ath_tx_send_normal(struct ath_softc *sc, struct ath_txq *txq, | |||
1729 | list_add_tail(&bf->list, &bf_head); | 1729 | list_add_tail(&bf->list, &bf_head); |
1730 | bf->bf_state.bf_type = 0; | 1730 | bf->bf_state.bf_type = 0; |
1731 | 1731 | ||
1732 | /* update starting sequence number for subsequent ADDBA request */ | ||
1733 | if (tid) | ||
1734 | INCR(tid->seq_start, IEEE80211_SEQ_MAX); | ||
1735 | |||
1736 | bf->bf_lastbf = bf; | 1732 | bf->bf_lastbf = bf; |
1737 | ath_tx_fill_desc(sc, bf, txq, fi->framelen); | 1733 | ath_tx_fill_desc(sc, bf, txq, fi->framelen); |
1738 | ath_tx_txqaddbuf(sc, txq, &bf_head, false); | 1734 | ath_tx_txqaddbuf(sc, txq, &bf_head, false); |