diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-12-17 02:26:28 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-12-17 02:26:28 +0000 |
commit | 23b9033345d4e6f69b43263c883ed9e27e333c28 (patch) | |
tree | 7a62c0272522da6672171e8286a7cd3e9b4a63a7 | |
parent | c6b5d9d78163a4af46fbe6f529821d338a7b55ef (diff) |
add missing braces.
From FreeBSD
-rw-r--r-- | sys/dev/ic/dc.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/ic/dc.c b/sys/dev/ic/dc.c index 483d4773c8e..23e1fb7d557 100644 --- a/sys/dev/ic/dc.c +++ b/sys/dev/ic/dc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dc.c,v 1.76 2004/12/02 02:28:35 brad Exp $ */ +/* $OpenBSD: dc.c,v 1.77 2004/12/17 02:26:27 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -2410,10 +2410,11 @@ dc_tick(xsc) } else { r = CSR_READ_4(sc, DC_ISR); if ((r & DC_ISR_RX_STATE) == DC_RXSTATE_WAIT && - sc->dc_cdata.dc_tx_cnt == 0 && !DC_IS_ASIX(sc)) + sc->dc_cdata.dc_tx_cnt == 0) { mii_tick(mii); - if (!(mii->mii_media_status & IFM_ACTIVE)) - sc->dc_link = 0; + if (!(mii->mii_media_status & IFM_ACTIVE)) + sc->dc_link = 0; + } } } else mii_tick(mii); |