Set max_cmd_len correcty.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1242 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2009-10-22 15:17:38 +00:00
parent b665918dea
commit 173e97d2bd

View File

@@ -974,6 +974,8 @@ static int scst_fake_lld_driver_probe(struct device *dev)
hpnt->max_id = scst_local_num_tgts;
hpnt->max_lun = scst_local_max_luns - 1;
hpnt->max_cmd_len = 260;
ret = scsi_add_host(hpnt, &scst_lcl_host->dev);
if (ret) {
printk(KERN_ERR "%s: scsi_add_host failed\n", __func__);