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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15225 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2009-04-13 00:43:38 +00:00
parent 3c345b5c8e
commit 4c407b15c6

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