mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
Return 0 if we are a network card and do match. Previously, we'd bogusly
fail and the card wouldn't be detected. Submitted by: Bryan Blackburn
This commit is contained in:
parent
60b7823989
commit
e2bf685dd4
1 changed files with 1 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ fe_pccard_probe(device_t dev)
|
|||
return (error);
|
||||
if (fcn != PCCARD_FUNCTION_NETWORK)
|
||||
return (ENXIO);
|
||||
return (0);
|
||||
}
|
||||
return (ENXIO);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue