From: Felix Fietkau Date: Sun, 11 Oct 2009 18:22:47 +0000 (+0000) Subject: atheros: backport an mvswitch related fix to the ar2313 ethernet driver to fix ethern... X-Git-Tag: 8.09.2~21 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=8dc7c8ff4a414814cec530065d4123f7040e441b;p=openwrt%2Fsvn-archive%2Fopenwrt.git atheros: backport an mvswitch related fix to the ar2313 ethernet driver to fix ethernet issues on fonera+ SVN-Revision: 18035 --- 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