diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-06-14 17:43:59 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-06-14 17:43:59 +0000 |
commit | 04aea8aaab80c8c46f648811e816642519786c42 (patch) | |
tree | 82cc51b5aff6d8d641d10bc4beb30b2cc122d7be /target/linux/ar71xx/files | |
parent | c5339698b04195b26769f30de401dd7fe7dae96d (diff) | |
download | upstream-04aea8aaab80c8c46f648811e816642519786c42.tar.gz upstream-04aea8aaab80c8c46f648811e816642519786c42.tar.bz2 upstream-04aea8aaab80c8c46f648811e816642519786c42.zip |
ar71xx: return limit as number of processed frames when re-scheduling NAPI poll
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45971 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c | 2 |
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)) |