mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user