atheros: ignore rx long packet error flag from the ethernet core
authorFelix Fietkau <nbd@openwrt.org>
Mon, 13 Apr 2009 00:43:38 +0000 (00:43 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 13 Apr 2009 00:43:38 +0000 (00:43 +0000)
SVN-Revision: 15225

target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch

index f33313c..49ca66e 100644 (file)
 +                      break;
 +              }
 +
-+              if (status & DMA_RX_ERROR) {
++              if ((status & DMA_RX_ERROR) && !(status & DMA_RX_LONG)) {
 +                      dev->stats.rx_errors++;
 +                      dev->stats.rx_dropped++;
 +