ocf: fix uninitialized variable access (thx, Dakon)
[openwrt.git] / target / linux / atheros / patches-2.6.28 / 110-ar2313_ethernet.patch
index f33313c..49ca66e 100644 (file)
 +                      break;
 +              }
 +
-+              if (status & DMA_RX_ERROR) {
++              if ((status & DMA_RX_ERROR) && !(status & DMA_RX_LONG)) {
 +                      dev->stats.rx_errors++;
 +                      dev->stats.rx_dropped++;
 +
This page took 0.031721 seconds and 4 git commands to generate.