]> git.baikalelectronics.ru Git - kernel.git/commit
tc35815: Fix return value of tc35815_do_interrupt when NAPI enabled
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Mon, 26 Oct 2009 03:46:21 +0000 (03:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Oct 2009 10:56:54 +0000 (03:56 -0700)
commite1faebf718c5e7c68859ef1755b2378c4dfaad23
treeb4305b68b7a7ad06cb260067e9d92e443f5bbeb4
parent8da765107effab2c935184e1cf40f8a0ce306bdf
tc35815: Fix return value of tc35815_do_interrupt when NAPI enabled

Return received count correctly even if tx completed at the same time.
Currently NAPI is disabled for this driver so this patch does not fix
any real problem.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tc35815.c