aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-06-14 17:43:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-06-14 17:43:59 +0000
commita1b8ee0307e43e96b172d2a1dc651949dc56565d (patch)
treed1ec1b862cb05a717a19908d36dc5f0ee4c87fd1 /target
parent4a9d72620058e95350258b4e0b006c8d3943d2ca (diff)
downloadupstream-a1b8ee0307e43e96b172d2a1dc651949dc56565d.tar.gz
upstream-a1b8ee0307e43e96b172d2a1dc651949dc56565d.tar.bz2
upstream-a1b8ee0307e43e96b172d2a1dc651949dc56565d.zip
ar71xx: return limit as number of processed frames when re-scheduling NAPI poll
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45971
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
index 5ef324e853..dc77699845 100644
--- a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
+++ b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
@@ -1082,7 +1082,7 @@ static int ag71xx_poll(struct napi_struct *napi, int limit)
more:
DBG("%s: stay in polling mode, rx=%d, tx=%d, limit=%d\n",
dev->name, rx_done, tx_done, limit);
- return rx_done;
+ return limit;
oom:
if (netif_msg_rx_err(ag))