diff options
author | 2006-04-24 00:00:21 +0000 | |
---|---|---|
committer | 2006-04-24 00:00:21 +0000 | |
commit | ac5f80ff5a480167b01c92fc315607ecfdb2a73e (patch) | |
tree | 36faa9233a44105cea8114ab762ff6f67acab900 | |
parent | Another forgotten man page (diff) | |
download | wireguard-openbsd-ac5f80ff5a480167b01c92fc315607ecfdb2a73e.tar.xz wireguard-openbsd-ac5f80ff5a480167b01c92fc315607ecfdb2a73e.zip |
add a missing return here.
-rw-r--r-- | sys/dev/pci/if_bge.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index 2473291928a..f1fb41aea98 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bge.c,v 1.141 2006/04/21 03:22:18 brad Exp $ */ +/* $OpenBSD: if_bge.c,v 1.142 2006/04/24 00:00:21 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -3052,6 +3052,7 @@ bge_ifmedia_sts(struct ifnet *ifp, struct ifmediareq *ifmr) ifmr->ifm_status |= IFM_ACTIVE; } else { ifmr->ifm_active |= IFM_NONE; + return; } ifmr->ifm_active |= IFM_1000_SX; if (CSR_READ_4(sc, BGE_MAC_MODE) & BGE_MACMODE_HALF_DUPLEX) |