diff options
author | 2006-09-16 12:20:10 +0000 | |
---|---|---|
committer | 2006-09-16 12:20:10 +0000 | |
commit | 10274e347b33efd59bbd1144fe79301ba6cb4ca6 (patch) | |
tree | b431adca2c4393f0b6993a2a3e3f0c306c5d0c87 | |
parent | Only interpret link state routing messages for the monitored carp interface. (diff) | |
download | wireguard-openbsd-10274e347b33efd59bbd1144fe79301ba6cb4ca6.tar.xz wireguard-openbsd-10274e347b33efd59bbd1144fe79301ba6cb4ca6.zip |
Don't panic if firmware files are not in place. Ja ja ja ja claudio@.
ok deraadt@
-rw-r--r-- | sys/dev/ic/pgt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/pgt.c b/sys/dev/ic/pgt.c index 4700c039e61..097844b3f07 100644 --- a/sys/dev/ic/pgt.c +++ b/sys/dev/ic/pgt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pgt.c,v 1.10 2006/09/16 10:36:12 mglocker Exp $ */ +/* $OpenBSD: pgt.c,v 1.11 2006/09/16 12:20:10 mglocker Exp $ */ /* * Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org> @@ -626,7 +626,7 @@ pgt_attach(struct pgt_softc *sc) error = pgt_reset(sc); if (error) - goto failed; + return (error); tsleep(&sc->sc_flags, 0, "pftres", hz); if (sc->sc_flags & SC_UNINITIALIZED) { |