Minor correction to the logic for selecting the proper device index.
This commit is contained in:
parent
60dc30aacf
commit
a6e6c501af
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user