mac80211: backport from trunk
[openwrt-10.03/.git] / package / mac80211 / patches / 562-ath9k_remove_seq_incr.patch
diff --git a/package/mac80211/patches/562-ath9k_remove_seq_incr.patch b/package/mac80211/patches/562-ath9k_remove_seq_incr.patch
new file mode 100644 (file)
index 0000000..a89d0a5
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/drivers/net/wireless/ath/ath9k/xmit.c
++++ b/drivers/net/wireless/ath/ath9k/xmit.c
+@@ -1742,10 +1742,6 @@ static void ath_tx_send_normal(struct at
+       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);