net: Test off by one in sh_eth_reset()
commit890c8c18986eb975a76aa8359a712596bc70e61c
authorroel kluin <roel.kluin@gmail.com>
Wed, 30 Dec 2009 01:43:45 +0000 (30 01:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jan 2010 05:42:53 +0000 (3 21:42 -0800)
tree47ffd879a07fe8fbb6feeb22367ed8154246c786
parentd2a928e4bfc75170af641f073475fc974cf176c2
net: Test off by one in sh_eth_reset()

If no break occurred, cnt reaches 0 after the loop.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sh_eth.c