mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-26 16:01:06 +02: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:
parent
cec137000a
commit
b2b8e3bed8
@ -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++;
|
||||
+
|
||||
|
Loading…
x
Reference in New Issue
Block a user