bcm63xx_enet: timeout off by one in do_mdio_op()
commitec1652af18ef02c7c6ceeabb64f56f16eaf40ae9
authorroel kluin <roel.kluin@gmail.com>
Mon, 21 Sep 2009 10:08:48 +0000 (21 10:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Oct 2009 03:03:15 +0000 (30 20:03 -0700)
tree94596543902a232043993a3de5b2999a2b127b82
parentebd6e7744f26b1a0e10d8a46ee57a3e76ceec6f9
bcm63xx_enet: timeout off by one in do_mdio_op()

`while (limit-- >= 0)' reaches -2 after the loop upon timeout.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bcm63xx_enet.c