aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/308-rt2x00-Fix-fill_rxdone-rt2800pci.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-03-10 08:50:11 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-03-10 08:50:11 +0000
commit70acd94cb1d99cf7b6c5a9f7e079fcb21e1215ae (patch)
tree33d709274019389cbf465f28f94ac0991ff7dab4 /package/mac80211/patches/308-rt2x00-Fix-fill_rxdone-rt2800pci.patch
parentceb3b8c8376374cfcd04691450551861805b063a (diff)
downloadupstream-70acd94cb1d99cf7b6c5a9f7e079fcb21e1215ae.tar.gz
upstream-70acd94cb1d99cf7b6c5a9f7e079fcb21e1215ae.tar.bz2
upstream-70acd94cb1d99cf7b6c5a9f7e079fcb21e1215ae.zip
mac80211: update compat-wireless to 2009-03-09
SVN-Revision: 14831
Diffstat (limited to 'package/mac80211/patches/308-rt2x00-Fix-fill_rxdone-rt2800pci.patch')
-rw-r--r--package/mac80211/patches/308-rt2x00-Fix-fill_rxdone-rt2800pci.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/mac80211/patches/308-rt2x00-Fix-fill_rxdone-rt2800pci.patch b/package/mac80211/patches/308-rt2x00-Fix-fill_rxdone-rt2800pci.patch
new file mode 100644
index 0000000000..3cb6147030
--- /dev/null
+++ b/package/mac80211/patches/308-rt2x00-Fix-fill_rxdone-rt2800pci.patch
@@ -0,0 +1,21 @@
+From 89950075234deb1f98ff52b225487ffc5b8199b0 Mon Sep 17 00:00:00 2001
+From: Ivo van Doorn <IvDoorn@gmail.com>
+Date: Sun, 8 Mar 2009 16:47:28 +0100
+Subject: [PATCH] rt2x00: Fix fill_rxdone (rt2800pci)
+
+Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
+---
+ drivers/net/wireless/rt2x00/rt2800pci.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+--- a/drivers/net/wireless/rt2x00/rt2800pci.c
++++ b/drivers/net/wireless/rt2x00/rt2800pci.c
+@@ -2037,7 +2037,7 @@ static void rt2800pci_fill_rxdone(struct
+ /*
+ * Remove TXWI descriptor from start of buffer.
+ */
+- skb_pull(entry->skb, TXWI_DESC_SIZE);
++ skb_pull(entry->skb, RXWI_DESC_SIZE);
+ skb_trim(entry->skb, rxdesc->size);
+ }
+