From 249a5c81165b3be159109cdad3c8fe891fbe2fde Mon Sep 17 00:00:00 2001 From: Damien Bergamini Date: Wed, 24 Nov 2004 21:00:51 +0000 Subject: extend scan delay from 20ms to 100ms for each channel + minor consistency tweak --- sys/dev/pci/if_iwi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev') 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; -- cgit v1.2.3