altera_tse: Fix return of eth_device's recv() callback
authorJoachim Foerster <joachim.foerster@missinglinkelectronics.com>
Mon, 17 Oct 2011 05:24:46 +0000 (05:24 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 26 Oct 2011 19:29:08 +0000 (21:29 +0200)
commit70d52f9a4e661f00814ed2160bdedd3cc49aa44c
tree9c75580818cffc0b90dd91158df11ff1a2f87858
parent15eb1069663676243a63a916fe482e751cd56deb
altera_tse: Fix return of eth_device's recv() callback

It seems to be good practice to return the number of received bytes in the
eth_device's recv() callback, here: tse_eth_rx().

Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
drivers/net/altera_tse.c