ql_minidump() should be performed only by port 0.

Submitted by: David C Somayajulu
This commit is contained in:
davidcs 2013-08-28 20:07:00 +00:00
parent 1dbe7f4b10
commit 16f0aaff88

View File

@ -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);