mac80211: fix an interop issue with some broken 802.11n clients (#9436)
authorFelix Fietkau <nbd@openwrt.org>
Fri, 8 Jul 2011 05:49:33 +0000 (05:49 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 8 Jul 2011 05:49:33 +0000 (05:49 +0000)
SVN-Revision: 27554

package/mac80211/patches/570-mac80211_agg_buf_size.patch [new file with mode: 0644]

diff --git a/package/mac80211/patches/570-mac80211_agg_buf_size.patch b/package/mac80211/patches/570-mac80211_agg_buf_size.patch
new file mode 100644 (file)
index 0000000..e7efd70
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/net/mac80211/agg-tx.c
++++ b/net/mac80211/agg-tx.c
+@@ -814,7 +814,7 @@ void ieee80211_process_addba_resp(struct
+                * of at least 1.
+                */
+               if (!buf_size)
+-                      goto out;
++                      buf_size = 1;
+               if (test_and_set_bit(HT_AGG_STATE_RESPONSE_RECEIVED,
+                                    &tid_tx->state)) {