aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-02-13 20:36:39 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-02-13 20:36:39 +0000
commite697d8c27ff1a8d8e691bb2fe767bbe25ea8a684 (patch)
tree46cd14aacc500fde40c84d9bc369ba5ed502778a /target/linux/ar71xx/files
parente2737772c2599905647e364dd759ea6c0432b634 (diff)
downloadupstream-e697d8c27ff1a8d8e691bb2fe767bbe25ea8a684.tar.gz
upstream-e697d8c27ff1a8d8e691bb2fe767bbe25ea8a684.tar.bz2
upstream-e697d8c27ff1a8d8e691bb2fe767bbe25ea8a684.zip
ag71xx driver: fix a kernel crash caused by r14496
SVN-Revision: 14504
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h2
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
index 60ee3d9b66..96bfd21b50 100644
--- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
+++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
@@ -38,7 +38,7 @@
#define ETH_FCS_LEN 4
#define AG71XX_DRV_NAME "ag71xx"
-#define AG71XX_DRV_VERSION "0.5.19"
+#define AG71XX_DRV_VERSION "0.5.20"
#define AG71XX_NAPI_WEIGHT 64
#define AG71XX_OOM_REFILL (1 + HZ/10)
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
index db1855b9ac..b30bde21be 100644
--- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
+++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
@@ -730,7 +730,7 @@ static int ag71xx_poll(struct napi_struct *napi, int limit)
mod_timer(&ag->oom_timer, jiffies + AG71XX_OOM_REFILL);
netif_rx_complete(dev, napi);
- return done;
+ return 0;
}
static irqreturn_t ag71xx_interrupt(int irq, void *dev_id)