summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2005-01-10 06:49:19 +0000
committerjsg <jsg@openbsd.org>2005-01-10 06:49:19 +0000
commit545a5bc89b08559839945d97f5157c87ef2a1db6 (patch)
tree5f97495b9d0d6844aa79c44320f523c5f4116ce5
parentledma*, and le* at ledma? will help with anteres units; miod ok (diff)
downloadwireguard-openbsd-545a5bc89b08559839945d97f5157c87ef2a1db6.tar.xz
wireguard-openbsd-545a5bc89b08559839945d97f5157c87ef2a1db6.zip
Make the time spent scanning per channel consistent with other drivers
and much more reasonable.
-rw-r--r--sys/dev/ic/rtw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/rtw.c b/sys/dev/ic/rtw.c
index f5f4340e025..6dcebca76a5 100644
--- a/sys/dev/ic/rtw.c
+++ b/sys/dev/ic/rtw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtw.c,v 1.5 2005/01/09 21:46:56 jsg Exp $ */
+/* $OpenBSD: rtw.c,v 1.6 2005/01/10 06:49:19 jsg Exp $ */
/* $NetBSD: rtw.c,v 1.29 2004/12/27 19:49:16 dyoung Exp $ */
/*-
* Copyright (c) 2004, 2005 David Young. All rights reserved.
@@ -101,7 +101,7 @@ int rtw_debug = 0;
sc->sc_attach_state = state; \
} while (0)
-int rtw_dwelltime = 1000; /* milliseconds */
+int rtw_dwelltime = 200; /* milliseconds per channel */
void rtw_start(struct ifnet *);
void rtw_srom_defaults(struct rtw_srom *, u_int32_t *, u_int8_t *,