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-a3cf2f4a3e73master
parent
3c345b5c8e
commit
4c407b15c6
|
@ -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…
Reference in New Issue