atheros: backport an mvswitch related fix to the ar2313 ethernet driver to fix ethern...
[openwrt/svn-archive/archive.git] / target / linux / atheros / files / drivers / net / ar2313 / ar2313.c
index 727d190b372210fa3af816d4382e2236253e0c09..c89d7d6ec574b742b99af7224e1aa5b8f9e25f96 100644 (file)
@@ -922,8 +922,7 @@ static int ar2313_rx_int(struct net_device *dev)
                printk("RX descr  %08x\n", rxdesc->descr);
 #endif
 
-               if ((status & (DMA_RX_ERROR | DMA_RX_ERR_LENGTH)) &&
-                       (!(status & DMA_RX_LONG))) {
+               if ((status & DMA_RX_ERROR) && !(status & DMA_RX_LONG)) {
 #if DEBUG_RX
                        printk("%s: rx ERROR %08x\n", __FUNCTION__, status);
 #endif