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>
This commit is contained in:
parent
b047701383
commit
6ee8284edb
|
@ -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);
|
list_add_tail(&bf->list, &bf_head);
|
||||||
bf->bf_state.bf_type = 0;
|
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;
|
bf->bf_lastbf = bf;
|
||||||
ath_tx_fill_desc(sc, bf, txq, fi->framelen);
|
ath_tx_fill_desc(sc, bf, txq, fi->framelen);
|
||||||
ath_tx_txqaddbuf(sc, txq, &bf_head, false);
|
ath_tx_txqaddbuf(sc, txq, &bf_head, false);
|
||||||
|
|
Loading…
Reference in New Issue