summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2003-02-07 13:55:02 +0000
committermbr <mbr@FreeBSD.org>2003-02-07 13:55:02 +0000
commit5159a138c0a79e3eea38cf5a55265355912fe71f (patch)
treeac724c285ed127df0633af87b06128697c6476f5 /sys/pci
parentf74d1f7c954f1e37bc42eda27b284e6106ecfd8a (diff)
downloadFreeBSD-src-5159a138c0a79e3eea38cf5a55265355912fe71f.zip
FreeBSD-src-5159a138c0a79e3eea38cf5a55265355912fe71f.tar.gz
Add missing braces.
Found by: FlexeLint (phk) Reviewed by: wpaul, phk
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_dc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c
index 23a2243..6de0972 100644
--- a/sys/pci/if_dc.c
+++ b/sys/pci/if_dc.c
@@ -2862,10 +2862,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)
+ sc->dc_cdata.dc_tx_cnt == 0) {
mii_tick(mii);
if (!(mii->mii_media_status & IFM_ACTIVE))
sc->dc_link = 0;
+ }
}
} else
mii_tick(mii);
OpenPOWER on IntegriCloud