1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-02 19:28:53 +03:00

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:
nbd 2009-04-13 00:43:38 +00:00
parent cec137000a
commit b2b8e3bed8

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