Skip to content
Commit f6c23b17 authored by Oliver Stäbler's avatar Oliver Stäbler Committed by Marc Kleine-Budde
Browse files

can: ti_hecc: Fix napi poll return value for repoll



After commit d75b1ade ("net: less interrupt masking in NAPI") napi
repoll is done only when work_done == budget.
So we need to return budget if there are still packets to receive.

Signed-off-by: default avatarOliver Stäbler <oliver.staebler@bytesatwork.ch>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 8bd13bd5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment