summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/qlxgbe/ql_os.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/qlxgbe/ql_os.c b/sys/dev/qlxgbe/ql_os.c
index c6fcae3..700c4a8 100644
--- a/sys/dev/qlxgbe/ql_os.c
+++ b/sys/dev/qlxgbe/ql_os.c
@@ -1642,8 +1642,6 @@ qla_error_recovery(void *context, int pending)
QLA_UNLOCK(ha, __func__);
- ql_minidump(ha);
-
if ((ha->pci_func & 0x1) == 0) {
if (!ha->msg_from_peer) {
@@ -1656,6 +1654,8 @@ qla_error_recovery(void *context, int pending)
ha->msg_from_peer = 0;
+ ql_minidump(ha);
+
(void) ql_init_hw(ha);
qla_free_xmt_bufs(ha);
qla_free_rcv_bufs(ha);
OpenPOWER on IntegriCloud