Selaa lähdekoodia

atheros: ignore rx long packet error flag from the ethernet core

SVN-Revision: 15225
Felix Fietkau 16 vuotta sitten
vanhempi
sitoutus
bda5e95574
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch

+ 1 - 1
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++;
 +