mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 21:26:31 +00:00
I think this fixes the problem Vlad had after he reworked scst_local.c but he
seems to have removed the setting of hpnt->max_id, so it seems the default is 7. Set it to 0 because we only want one ID on the device, and we don't do any checking ... git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2110 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1403,6 +1403,7 @@ static int scst_local_driver_probe(struct device *dev)
|
||||
|
||||
sess->shost = hpnt;
|
||||
|
||||
hpnt->max_id = 0; /* Don't want more than one id */
|
||||
hpnt->max_lun = 0xFFFF;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user