diff options
-rw-r--r-- | drivers/ata/libata-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index a2bd5acc8a89..c2d3785ec227 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -1702,6 +1702,8 @@ unsigned ata_exec_internal_sg(struct ata_device *dev, | |||
1702 | 1702 | ||
1703 | if (qc->err_mask & ~AC_ERR_OTHER) | 1703 | if (qc->err_mask & ~AC_ERR_OTHER) |
1704 | qc->err_mask &= ~AC_ERR_OTHER; | 1704 | qc->err_mask &= ~AC_ERR_OTHER; |
1705 | } else if (qc->tf.command == ATA_CMD_REQ_SENSE_DATA) { | ||
1706 | qc->result_tf.command |= ATA_SENSE; | ||
1705 | } | 1707 | } |
1706 | 1708 | ||
1707 | /* finish up */ | 1709 | /* finish up */ |