summaryrefslogtreecommitdiff
path: root/target/linux/atheros/patches-2.6.28
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-04-13 00:43:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-04-13 00:43:38 +0000
commitbda5e955744bf3997870c921efba90bea6f60118 (patch)
treec8ee9b451ffa15eca2acac4756e2e5b9c9cb5bee /target/linux/atheros/patches-2.6.28
parent6397e188affe1fc85bee579346956c61e90219aa (diff)
downloadmtk-20170518-bda5e955744bf3997870c921efba90bea6f60118.zip
mtk-20170518-bda5e955744bf3997870c921efba90bea6f60118.tar.gz
mtk-20170518-bda5e955744bf3997870c921efba90bea6f60118.tar.bz2
atheros: ignore rx long packet error flag from the ethernet core
SVN-Revision: 15225
Diffstat (limited to 'target/linux/atheros/patches-2.6.28')
-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 f33313c..49ca66e 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++;
+