We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14298cf commit 690e9c3Copy full SHA for 690e9c3
drivers/scsi/megaraid/megaraid_sas_fusion.c
@@ -3624,6 +3624,15 @@ void megasas_refire_mgmt_cmd(struct megasas_instance *instance)
3624
3625
if (!smid)
3626
continue;
3627
+
3628
+ /* Do not refire shutdown command */
3629
+ if (le32_to_cpu(cmd_mfi->frame->dcmd.opcode) ==
3630
+ MR_DCMD_CTRL_SHUTDOWN) {
3631
+ cmd_mfi->frame->dcmd.cmd_status = MFI_STAT_OK;
3632
+ megasas_complete_cmd(instance, cmd_mfi, DID_OK);
3633
+ continue;
3634
+ }
3635
3636
req_desc = megasas_get_request_descriptor
3637
(instance, smid - 1);
3638
refire_cmd = req_desc && ((cmd_mfi->frame->dcmd.opcode !=
0 commit comments