scst_local: Set max_id to 1

The value 0 is not valid for the max_id member of struct Scsi_Host.
    
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5786 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-09-09 11:27:27 +00:00
parent 2452405735
commit 173fdd5f20

View File

@@ -1677,7 +1677,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_id = 1; /* Don't want more than one id */
hpnt->max_lun = SCST_MAX_LUN;
/*