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-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=7449efbf4ddcada1372bf775ca1ca976b3a20239 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