diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-04-13 00:43:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-04-13 00:43:38 +0000 |
commit | 4c407b15c68005b90ca22529b4a8b725b01a744f (patch) | |
tree | 37364b1d28793077c8499666baa0643d5f7f6835 /target | |
parent | 3c345b5c8e637cff3e1eafb263dc9f76ac8c26c5 (diff) | |
download | upstream-4c407b15c68005b90ca22529b4a8b725b01a744f.tar.gz upstream-4c407b15c68005b90ca22529b4a8b725b01a744f.tar.bz2 upstream-4c407b15c68005b90ca22529b4a8b725b01a744f.zip |
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.patch | 2 |
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 f33313c072..49ca66e219 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++; + |