Fix issue preventing scsi selection

This commit is contained in:
Michael McMaster
2021-01-08 19:02:19 +10:00
parent c8eb8a88f4
commit d1e5c214e9

View File

@@ -665,7 +665,7 @@ static void process_SelectionPhase()
S2S_Target* target = NULL; S2S_Target* target = NULL;
for (int testIdx = 0; testIdx < 8; ++testIdx) for (int testIdx = 0; testIdx < 8; ++testIdx)
{ {
target = s2s_DeviceFindByScsiId(1 << testIdx); target = s2s_DeviceFindByScsiId(testIdx);
if (target) if (target)
{ {
break; break;