Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b942f44a authored by Manish Chopra's avatar Manish Chopra Committed by David S. Miller
Browse files

qlcnic: Dump mailbox command data when a command times out

parent b5acb255
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3736,6 +3736,7 @@ static void qlcnic_83xx_mailbox_worker(struct work_struct *work)
				__func__, cmd->cmd_op, cmd->type, ahw->pci_func,
				ahw->op_mode);
			clear_bit(QLC_83XX_MBX_READY, &mbx->status);
			qlcnic_dump_mbx(adapter, cmd);
			qlcnic_83xx_idc_request_reset(adapter,
						      QLCNIC_FORCE_FW_DUMP_KEY);
			cmd->rsp_opcode = QLCNIC_RCODE_TIMEOUT;