net: gem: Fix return value from recv
authorMichal Simek <michal.simek@xilinx.com>
Wed, 9 Dec 2015 13:16:32 +0000 (14:16 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 18 Dec 2015 12:15:58 +0000 (13:15 +0100)
commitda872d7c136cdbc111f4937becfd0bb36e425df6
tree25af483b35547e1270e9d91ea00e273819d3324c
parentbcdfef7a26170bc9ec9bfe19469cad68ee07312d
net: gem: Fix return value from recv

recv function should return 0 instead of frame_len not to
proceed the same packet again in core.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/zynq_gem.c