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 | bda5e955744bf3997870c921efba90bea6f60118 (patch) | |
tree | c8ee9b451ffa15eca2acac4756e2e5b9c9cb5bee /target/linux/atheros/patches-2.6.28 | |
parent | 6397e188affe1fc85bee579346956c61e90219aa (diff) | |
download | upstream-bda5e955744bf3997870c921efba90bea6f60118.tar.gz upstream-bda5e955744bf3997870c921efba90bea6f60118.tar.bz2 upstream-bda5e955744bf3997870c921efba90bea6f60118.zip |
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.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++; + |