summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-12-14 22:08:06 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-12-15 14:46:36 -0500
commit6ee8284edb9be5cd567ff3f772de3bf55c73fc7a (patch)
tree0f9ffe8e66106385f8bdf47b41bf5bf53943d006
parentb047701383cf886ee18124db0a8c027af6ccc07b (diff)
downloadblackbird-op-linux-6ee8284edb9be5cd567ff3f772de3bf55c73fc7a.tar.gz
blackbird-op-linux-6ee8284edb9be5cd567ff3f772de3bf55c73fc7a.zip
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>
-rw-r--r--drivers/net/wireless/ath/ath9k/xmit.c4
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,
list_add_tail(&bf->list, &bf_head);
bf->bf_state.bf_type = 0;
- /* update starting sequence number for subsequent ADDBA request */
- if (tid)
- INCR(tid->seq_start, IEEE80211_SEQ_MAX);
-
bf->bf_lastbf = bf;
ath_tx_fill_desc(sc, bf, txq, fi->framelen);
ath_tx_txqaddbuf(sc, txq, &bf_head, false);
OpenPOWER on IntegriCloud