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

SVN-Revision: 15225
lede-17.01
Felix Fietkau 2009-04-13 00:43:38 +00:00
parent 6397e188af
commit bda5e95574
1 changed files with 1 additions and 1 deletions

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