mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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:
@@ -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++;
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user