diff options
| author | Warner Losh <imp@FreeBSD.org> | 2005-07-15 06:05:11 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2005-07-15 06:05:11 +0000 |
| commit | d55dc24982b60bd880e3475ae946e76dfa27103b (patch) | |
| tree | 827b305855b58d323f3ff0352dd893fb3a698000 /sys/dev | |
| parent | f35f3346a2674782c9490e30495bd23cd8f506ae (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/xe/if_xe_pccard.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/xe/if_xe_pccard.c b/sys/dev/xe/if_xe_pccard.c index bec7c6913305..baf905389589 100644 --- a/sys/dev/xe/if_xe_pccard.c +++ b/sys/dev/xe/if_xe_pccard.c @@ -259,6 +259,9 @@ xe_pccard_product_match(device_t dev, const struct pccard_product* ent, int vpfm const struct xe_pccard_product* xpp; uint16_t prodext; + if (vpfmatch == 0) + return (0); + xpp = (const struct xe_pccard_product*)ent; pccard_get_prodext(dev, &prodext); if (xpp->prodext != prodext) |
