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

Commit 5d90027f authored by Mike Christie's avatar Mike Christie Committed by James Bottomley
Browse files

[SCSI] stex: fix queue depth setting



We want to set the queue depth to something reasonable - not
the can_queue.

Signed-off-by: default avatarMike Christie <michaelc@cs.wisc.edu>
Cc: Ed Lin <ed.lin@promise.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent d510d965
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -467,7 +467,7 @@ stex_slave_alloc(struct scsi_device *sdev)
	/* Cheat: usually extracted from Inquiry data */
	sdev->tagged_supported = 1;

	scsi_activate_tcq(sdev, sdev->host->can_queue);
	scsi_activate_tcq(sdev, ST_CMD_PER_LUN);

	return 0;
}