mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 03:13:20 +02:00
[ar71xx] ag71xx driver: fix a kernel crash caused by r14496
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14504 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
85a2380747
commit
6ce4ee38eb
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user