diff options
author | 2018-07-03 06:54:47 +0000 | |
---|---|---|
committer | 2018-07-03 06:54:47 +0000 | |
commit | 107785f09ceb5f8743fa106248ccc86a62d9567d (patch) | |
tree | 869fe5edb081f4154a048d152b00f547e1126b75 /sys | |
parent | Nuke some leading spaces and mis-indentations that crept in over the (diff) | |
download | wireguard-openbsd-107785f09ceb5f8743fa106248ccc86a62d9567d.tar.xz wireguard-openbsd-107785f09ceb5f8743fa106248ccc86a62d9567d.zip |
If we're not on a fabric, we may still need to attach and detach targets
as part of processing port database changes.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/qle.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/qle.c b/sys/dev/pci/qle.c index 749b6618395..54f40aaa11c 100644 --- a/sys/dev/pci/qle.c +++ b/sys/dev/pci/qle.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qle.c,v 1.39 2017/01/24 02:28:17 visa Exp $ */ +/* $OpenBSD: qle.c,v 1.40 2018/07/03 06:54:47 jmatthew Exp $ */ /* * Copyright (c) 2013, 2014 Jonathan Matthew <jmatthew@openbsd.org> @@ -2221,6 +2221,10 @@ qle_do_update(void *xsc) if (qle_update_fabric(sc)) qle_update_start(sc, QLE_UPDATE_TASK_SCANNING_FABRIC); + else + qle_update_start(sc, + QLE_UPDATE_TASK_ATTACH_TARGET | + QLE_UPDATE_TASK_DETACH_TARGET); qle_update_done(sc, QLE_UPDATE_TASK_SCAN_FABRIC); continue; |