amd8111e: Fix rx return code
authorChris Friesen <cfriesen@nortel.com>
Tue, 28 Oct 2008 22:50:54 +0000 (15:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Oct 2008 22:50:54 +0000 (15:50 -0700)
commit48e5ecae691cfb50aa39036ba9fc193f5c24dbb3
tree00d40cab7f9724bf84a493b7f10cbbc3c59d8c1d
parent882716604ecf388b2ff09bc76eb2a752aa9cc76b
amd8111e: Fix rx return code

The amd8111e rx poll routine currently mishandles the case when we
process exactly the number of packets specified in the budget.

This patch is basically as suggested by David Miller.

Signed-off-by: Chris Friesen <cfriesen@nortel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/amd8111e.c