From 8dc7c8ff4a414814cec530065d4123f7040e441b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 11 Oct 2009 18:22:47 +0000 Subject: [PATCH] atheros: backport an mvswitch related fix to the ar2313 ethernet driver to fix ethernet issues on fonera+ SVN-Revision: 18035 --- target/linux/atheros/files/drivers/net/ar2313/ar2313.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/linux/atheros/files/drivers/net/ar2313/ar2313.c b/target/linux/atheros/files/drivers/net/ar2313/ar2313.c index 727d190b37..c89d7d6ec5 100644 --- a/target/linux/atheros/files/drivers/net/ar2313/ar2313.c +++ b/target/linux/atheros/files/drivers/net/ar2313/ar2313.c @@ -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 -- 2.30.2