[kernel] generic-2.6/2.6.30: gets rid of the length limitation on the name in the...
[openwrt.git] / target / linux / atheros / patches-2.6.28 / 110-ar2313_ethernet.patch
index 3643c96..49ca66e 100644 (file)
@@ -25,7 +25,7 @@
  obj-$(CONFIG_DECLANCE) += declance.o
 --- /dev/null
 +++ b/drivers/net/ar231x.c
  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.
 + *
 +/*
 + * ar231x.c: Linux driver for the Atheros AR231x Ethernet device.
 + *
 +                      break;
 +              }
 +
 +                      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++;
 +
 +                      dev->stats.rx_errors++;
 +                      dev->stats.rx_dropped++;
 +
This page took 0.024778 seconds and 4 git commands to generate.