From e043abd48c31539f1cec2c044f78bf73ecc02156 Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Mon, 1 Aug 2005 21:58:02 +0000 Subject: CISTPL_CONFIG min length should be 3, not 5. audiovox GPRS works now. deraadt@ ok. --- sys/dev/pcmcia/pcmcia_cis.c | 4 ++-- 1 file 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; -- cgit v1.2.3