[SCSI] mpt2sas: fix firmware failure with wrong task attribute
authorSreekanth Reddy <Sreekanth.Reddy@lsi.com>
Fri, 1 Feb 2013 19:28:20 +0000 (00:58 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Jun 2013 19:49:56 +0000 (12:49 -0700)
commit48ba2efc382f94fae16ca8ca011e5961a81ad1ea
treea4b7efe80a10d0d322aad21ce5665dcdc823b5d8
parent6241f22ca12a26ee149cbe31b27bac97dbdc8bc4
[SCSI] mpt2sas: fix firmware failure with wrong task attribute

When SCSI command is received with task attribute not set, set it to SIMPLE.
Previously it is set to untagged. This causes the firmware to fail the commands.

Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@lsi.com>
Cc: stable@vger.kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/mpt2sas/mpt2sas_scsih.c