diff --git a/[refs] b/[refs] index c5f71b2b09d7..595e1869e249 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 79d2b29e8ab2bd460b07ff783d679d6cd3032769 +refs/heads/master: cff71e89a8bd1175962b603f88f333883726b851 diff --git a/trunk/drivers/net/sun3lance.c b/trunk/drivers/net/sun3lance.c index 4bb8f72c65cc..e5beb299cbd0 100644 --- a/trunk/drivers/net/sun3lance.c +++ b/trunk/drivers/net/sun3lance.c @@ -428,7 +428,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;