summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2005-08-01 21:58:02 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2005-08-01 21:58:02 +0000
commite043abd48c31539f1cec2c044f78bf73ecc02156 (patch)
treed2d4b3593473a0148920d71f62de38dbdecebd45 /sys/dev/pcmcia
parent460be735d8c4a18798fff6271db0810041c19a3f (diff)
CISTPL_CONFIG min length should be 3, not 5. audiovox GPRS works now.
deraadt@ ok.
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r--sys/dev/pcmcia/pcmcia_cis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/pcmcia_cis.c b/sys/dev/pcmcia/pcmcia_cis.c
index c39c12c62f2..f7856a3ad7b 100644
--- a/sys/dev/pcmcia/pcmcia_cis.c
+++ b/sys/dev/pcmcia/pcmcia_cis.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcmcia_cis.c,v 1.12 2004/09/16 07:19:49 brad Exp $ */
+/* $OpenBSD: pcmcia_cis.c,v 1.13 2005/08/01 21:58:01 fgsch Exp $ */
/* $NetBSD: pcmcia_cis.c,v 1.9 1998/08/22 23:41:48 msaitoh Exp $ */
/*
@@ -862,7 +862,7 @@ pcmcia_parse_cis_tuple(tuple, arg)
break;
case PCMCIA_CISTPL_CONFIG:
- if (tuple->length < 5) {
+ if (tuple->length < 3) {
DPRINTF(("CISTPL_CONFIG too short %d\n",
tuple->length));
break;