atheros: ignore rx long packet error flag from the ethernet core
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 13 Apr 2009 00:43:38 +0000 (00:43 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 13 Apr 2009 00:43:38 +0000 (00:43 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15225 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index f33313c07247069b2f7f0617ad4386e272d0c43c..49ca66e219435e9aa420d66c96d4ebed9fe3a825 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++;
 +