summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2004-11-24 21:00:51 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2004-11-24 21:00:51 +0000
commit249a5c81165b3be159109cdad3c8fe891fbe2fde (patch)
tree9fab3fb9f71008c5637d22c5bb64af59e8a39d5f /sys/dev
parent1e8430231dedbb58801d55909535b16ebe7ff575 (diff)
extend scan delay from 20ms to 100ms for each channel + minor consistency tweak
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_iwi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c
index 29104bfe1a2..f1435f818ae 100644
--- a/sys/dev/pci/if_iwi.c
+++ b/sys/dev/pci/if_iwi.c
@@ -1,4 +1,4 @@
-/* $Id: if_iwi.c,v 1.11 2004/11/24 20:57:25 damien Exp $ */
+/* $Id: if_iwi.c,v 1.12 2004/11/24 21:00:50 damien Exp $ */
/*-
* Copyright (c) 2004
@@ -1819,9 +1819,9 @@ iwi_scan(struct iwi_softc *sc)
u_int8_t *p;
int i, count;
- memset(&scan, 0, sizeof scan);
+ bzero(&scan, sizeof scan);
scan.type = IWI_SCAN_TYPE_BROADCAST;
- scan.intval = htole16(20);
+ scan.intval = htole16(100);
p = scan.channels;
count = 0;