madwifi: add fragmentation fix from #4817
authorFelix Fietkau <nbd@openwrt.org>
Mon, 23 Mar 2009 12:11:47 +0000 (12:11 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 23 Mar 2009 12:11:47 +0000 (12:11 +0000)
SVN-Revision: 14989

package/madwifi/patches/412-fragmentation_fix.patch [new file with mode: 0644]

diff --git a/package/madwifi/patches/412-fragmentation_fix.patch b/package/madwifi/patches/412-fragmentation_fix.patch
new file mode 100644 (file)
index 0000000..8c72f54
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/ath/if_ath.c
++++ b/ath/if_ath.c
+@@ -3675,6 +3675,7 @@ ff_bypass:
+                *  already alloc'd
+                */
+               ATH_TXBUF_LOCK_IRQ(sc);
++              STAILQ_INSERT_TAIL(&bf_head, bf, bf_list);
+               for (bfcnt = 1; bfcnt < framecnt; ++bfcnt) {
+                       tbf = ath_take_txbuf_locked(sc);
+                       if (tbf == NULL)