diff --git a/[refs] b/[refs] index c301792f3bab..8be98b90c3a9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5d66fe92a19fb41373d13e75831169a6b5e5bef5 +refs/heads/master: e145b98484f5c7444151e90cc0853f14e6d396a4 diff --git a/trunk/drivers/net/atarilance.c b/trunk/drivers/net/atarilance.c index c5721cb38265..cc9ed8643910 100644 --- a/trunk/drivers/net/atarilance.c +++ b/trunk/drivers/net/atarilance.c @@ -663,7 +663,7 @@ static int lance_open( struct net_device *dev ) while (--i > 0) if (DREG & CSR0_IDON) break; - if (i < 0 || (DREG & CSR0_ERR)) { + if (i <= 0 || (DREG & CSR0_ERR)) { DPRINTK( 2, ( "lance_open(): opening %s failed, i=%d, csr0=%04x\n", dev->name, i, DREG )); DREG = CSR0_STOP;