Don't core dump if we can't get the index automatically.
Debug info from: Ben Hockenhull <benh@jpj.net>
This commit is contained in:
parent
845bd795c9
commit
df306b2647
@ -644,6 +644,7 @@ assign_io(struct slot *sp)
|
||||
break;
|
||||
case AUTO_INDEX: /* auto */
|
||||
cisconf = assign_card_index(sp, cis);
|
||||
if (cisconf)
|
||||
sp->config->index = cisconf->id;
|
||||
break;
|
||||
default: /* normal, use index value */
|
||||
|
Loading…
Reference in New Issue
Block a user