X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e33cb85cbc36a774d75a23acec4db85315816233..179d9f7f00b3f549821a6905393a1f2f6898fdb9:/target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch diff --git a/target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch b/target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch index 3643c963a..49ca66e21 100644 --- a/target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch +++ b/target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch @@ -25,7 +25,7 @@ obj-$(CONFIG_DECLANCE) += declance.o --- /dev/null +++ b/drivers/net/ar231x.c -@@ -0,0 +1,1265 @@ +@@ -0,0 +1,1264 @@ +/* + * ar231x.c: Linux driver for the Atheros AR231x Ethernet device. + * @@ -833,8 +833,7 @@ + break; + } + -+ if ((status & (DMA_RX_ERROR | DMA_RX_ERR_LENGTH)) && -+ (!(status & DMA_RX_LONG))) { ++ if ((status & DMA_RX_ERROR) && !(status & DMA_RX_LONG)) { + dev->stats.rx_errors++; + dev->stats.rx_dropped++; +