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

SVN-Revision: 15225
This commit is contained in:
Felix Fietkau 2009-04-13 00:43:38 +00:00
parent 6397e188af
commit bda5e95574

View file

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