Minor correction to the logic for selecting the proper device index.

This commit is contained in:
Bill Paul 2005-05-08 02:06:57 +00:00
parent 60dc30aacf
commit a6e6c501af

View File

@ -317,7 +317,7 @@ ndis_attach_pci(dev)
devidx++;
}
if (t[devidx].ndis_name == NULL)
if (t->ndis_name == NULL)
sc->ndis_devidx = defidx;
else
sc->ndis_devidx = devidx;