summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-13 00:43:38 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-13 00:43:38 +0000
commitb2b8e3bed89afe2008ad741bc05b313715c56b64 (patch)
tree37364b1d28793077c8499666baa0643d5f7f6835 /target
parentcec137000a9a1f83df31c3b2a210562f9564753e (diff)
atheros: ignore rx long packet error flag from the ethernet core
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15225 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch b/target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch
index f33313c07..49ca66e21 100644
--- a/target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch
+++ b/target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch
@@ -833,7 +833,7 @@
+ break;
+ }
+
-+ if (status & DMA_RX_ERROR) {
++ if ((status & DMA_RX_ERROR) && !(status & DMA_RX_LONG)) {
+ dev->stats.rx_errors++;
+ dev->stats.rx_dropped++;
+