mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 02:31:27 +00:00
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:
@@ -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__);
|
||||
|
||||
Reference in New Issue
Block a user