From: Felix Fietkau Date: Mon, 13 Apr 2009 00:43:38 +0000 (+0000) Subject: atheros: ignore rx long packet error flag from the ethernet core X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=08fb4b79fc0f0cf1db4edc8e1130872358f9af7a atheros: ignore rx long packet error flag from the ethernet core SVN-Revision: 15225 --- 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++; +